Using Telerik RadGrid I'm binding a datasource and attach a method to the OnItemDataBound
event.
<telerik:RadGrid ID="myGrid" runat="server"
DataSourceID="myDataSource"
OnItemDataBound="myMethod"
>
I've been trying to find the solution for a while now with no luck. How could I check with the item being bound is the last item to be bound. For example, the below method will be called for each record
protected void myMethod(object sender, GridItemEventArgs e)
{
//some condition to check whether the current item is the last
}
I hope if explained my problem clearly. Thank you in advance.