Version

WebDataGrid Class Events

For a list of all members of this type, see WebDataGrid members.

Public Events
 NameDescription
Public EventActiveCellChangedOccurs when the ActiveCell changes between posts to the server.  
Public EventCalculateCustomSummaryEvent that is fired whenever each custom summary needs to be calculated  
Public EventCalculateSummaryEvent that is fired whenever each normal summary type needs to be calculated because the grid is doing custom binding  
Public EventCallingDataMethodsOccurs when data methods are being called. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Public EventCellSelectionChangedOccurs when the SelectedCells collection changes between posts to the server.  
Public EventColumnMovedOccurs when a column is moved by a user.  
Public EventColumnResizedOccurs when a column is resized by a user.  
Public EventColumnSelectionChangedOccurs when the SelectedColumns collection changes between posts to the server.  
Public EventColumnSortedOccurs when a column is sorted by a user.  
Public EventCreatingModelDataSourceOccurs when the System.Web.UI.WebControls.ModelDataSource object is being created. (Inherited from System.Web.UI.WebControls.DataBoundControl)
Public EventCustomDataBindingThe event that fires right before the grid is data bound. If this is cancelled, then the grid will perform binding directly to the DataSource supplied to the event args. This is to accomplish custom sorting or filtering.  
Public EventDataBindingOccurs when the server control binds to a data source. (Inherited from System.Web.UI.Control)
Public EventDataBoundOccurs after the server control binds to a data source. (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)
Public EventDataFilteredOccurs when a filters have be applied to the grid's data.  
Public EventDataFilteringOccurs when a filters are about to be applied to the grid's data.  
Public EventDisposedOccurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from System.Web.UI.Control)
Public EventFixedStateChangedOccurs when a column is fixed/unfixed by a user.  
Public EventHeaderCheckBoxClickedThe HeaderCheckBoxClicked event is raised when the header checkbox in an UnboundCheckBoxField has been clicked.  
Public EventInitOccurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from System.Web.UI.Control)
Public EventInitializeDefaultEditorsThe InitializeDefaultEditors event is raised when default shared editors for grids were created and passed to client.  
Public EventInitializeRowThe InitializeRow event is raised when the grid binds to the records in the data source.  
Public EventItemCommandThe ItemCommand event is raised when a WebControl inside of the grid emits an event which would cause a postback.  
Public EventLoadOccurs when the server control is loaded into the System.Web.UI.Page object. (Inherited from System.Web.UI.Control)
Public EventPageIndexChangedOccurs when a page has changed by a user.  
Public EventPopulateUniqueFilterValuesOccurs when a filters have be applied to the grid's data.  
Public EventPreRenderOccurs after the System.Web.UI.Control object is loaded but prior to rendering. (Inherited from System.Web.UI.Control)
Public EventRowAddedEvent that is fired every time a row has been added.  
Public EventRowAddingEvent that is fired every time a row about to be added.  
Public EventRowDeletedEvent that is fired every time a row is deleted.  
Public EventRowsDeletingEvent that is fired every time a row is about to be deleted.  
Public EventRowSelectionChangedOccurs when the SelectedRows collection changes between posts to the server.  
Public EventRowUpdatedEvent that is fired every time a row has been updated.  
Public EventRowUpdatingEvent that is fired every time a row is about to be updated in the database.  
Public EventSummaryCalculatedEvent that is fired whenever a standard summary is calculated (any summary which is not a custom summary).  
Public EventUnloadOccurs when the server control is unloaded from memory. (Inherited from System.Web.UI.Control)
See Also