New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Commands that invoke Rebind Implicitly

This topic lists which internal grid commands make an implicit call to the Rebind() method of RadGrid in order to refresh the control's content and fetch the latest information from the grid source.Here is the complete list of commands that trigger Rebind():

 

Command NameField
ExpandCollapseRadGrid.ExpandCollapseCommandName
UpdateRadGrid.UpdateCommandName
CancelRadGrid.CancelCommandName
DeleteRadGrid.DeleteCommandName
EditRadGrid.EditCommandName
InitInsertRadGrid.InitInsertCommandName
PerformInsertRadGrid.PerformInsertCommandName
RebindGridRadGrid.RebindGridCommandName
PageRadGrid.PageCommandName
SortRadGrid.SortCommandName
FilterRadGrid.FilterCommandName
Note that the following commands do not perform internal rebind:
SelectRadGrid.SelectCommandName
DeselectRadGrid.DeselectCommandName

When RadGrid's ViewState is turned off, the NeedDataSource event does not fire after any of the above listed commands. This is so because it fires after Page_Load and the control already has a DataSource assigned when the command takes place. If you want to make the event fire in such scenarios, you need to first set RadGrid's DataSource to null/Nothing and then call Rebind().

Not finding the help you need?
Contact Support