Hi,
I'm using radGrid with custom paging. I also use NeedDataSource event to get data.
I stuck when I click Export command in item Command row (I only have export command). I dont know how to distinguish that export command is clicked inside NeedDataSource method (because its executing before Export event of grid).
I have tried this:
but its not ok because explicit rebinding is also done when any othe button is clicked on page that rebind grid.
I'm using radGrid with custom paging. I also use NeedDataSource event to get data.
I stuck when I click Export command in item Command row (I only have export command). I dont know how to distinguish that export command is clicked inside NeedDataSource method (because its executing before Export event of grid).
I have tried this:
if (e.RebindReason == GridRebindReason.ExplicitRebind)
{
rgActions.AllowPaging = false;
rgActions.AllowCustomPaging = false;
}
else
{
rgActions.AllowPaging = true;
rgActions.AllowCustomPaging = true;
}
but its not ok because explicit rebinding is also done when any othe button is clicked on page that rebind grid.