Back to Devexpress

ASPxGridView Events

aspnet-devexpress-dot-web-dot-aspxgridview-dot-underscore-events.md

latest16.9 KB
Original Source

ASPxGridView Events

A grid control.

NameDescription
AddSummaryItemViaContextMenuFires when a total summary item is added to the ASPxGridView.TotalSummary collection using the context menu.
AfterPerformCallbackFires after a callback or a postback initiated by the control has been processed on the server.
AutoFilterCellEditorCreateEnables you to assign editors to individual filter row cells.
AutoFilterCellEditorInitializeEnables the cell editors displayed within the auto filter row cells to be initialized.
BatchUpdateOccurs after an end-user clicks the Update button in batch edit mode and allows you to provide a custom data updating mechanism. Inherited from ASPxGridBase.
BeforeColumnSortingGroupingFires before a column is sorted or grouped.
BeforeExportOccurs before the grid content is exported and allows you to customize export settings. Inherited from ASPxGridBase.
BeforeGetCallbackResultOccurs after a callback sent by the current control has been processed on the server, but prior to the time the respective callback result render is formed. Inherited from ASPxGridBase.
BeforeHeaderFilterFillItemsAllows you to populate the header filter dropdown with custom items instead of default items.
BeforePerformDataSelectOccurs before the control obtains data from a data source. Inherited from ASPxGridBase.
CallbackError staticAllows you to handle any server exception that might occur during server-side processing of a callback sent by a DevExpress web control. Inherited from ASPxWebControl.
CancelRowEditingEnables you to prevent changes made within a row from being discarded.
CellEditorInitializeOccurs after a cell editor contained in the edit cells is initialized, but before it’s shown.
ClientLayoutEnables you to save and restore the previously saved layout of the grid. Inherited from ASPxGridBase.
CommandButtonInitializeEnables individual command buttons to be initialized.
ContextMenuInitializeOccurs when the context menu is initialized.
ContextMenuItemClickFires on the server side when a context menu item has been clicked.
ContextMenuItemVisibilityEnables you to dynamically change the visibility and availability of context menu items.
CustomButtonCallbackOccurs when a custom command button has been clicked.
CustomButtonInitializeEnables you to initialize custom command buttons.
CustomCallbackFires when you call the ASPxClientGridView.PerformCallback method and initiate a round trip to the server.
CustomCellMergeAllows you to merge grid cells manually.
CustomColumnDisplayTextEnables you to specify the display text for a cell.
CustomColumnGroupAllows you to apply a custom grouping algorithm to a column.
CustomColumnSortAllows you to apply a custom sort algorithm to a column.
CustomDataCallbackFires when a round trip to the server has been initiated by a call to the client ASPxClientGridView.GetValuesOnCustomCallback method.
CustomErrorTextEnables you to provide custom error descriptions.
CustomFilterExpressionDisplayTextEnables you to display custom text in the filter bar, corresponding to the current filter expression. Inherited from ASPxGridBase.
CustomGroupDisplayTextAllows you to customize the text of group rows.
CustomJSPropertiesEnables you to supply any server data that can then be parsed on the client.
CustomPreviewDisplayTextEnables you to provide custom display text for a preview row.
CustomSummaryCalculateEnables you to calculate summary values manually. Inherited from ASPxGridBase.
CustomUnboundColumnDataEnables you to supply data to unbound columns.
DataBindingOccurs when the server control binds to a data source. Inherited from Control.
DataBoundOccurs after the server control is bound to a data source. Inherited from ASPxDataWebControlBase.
DetailRowExpandedChangedOccurs after a master row has been expanded or collapsed.
DetailRowGetButtonVisibilityEnables you to hide/show expand buttons displayed within individual data rows.
DetailsChangedFires after a detail row(s) has been expanded or collapsed.
DisposedOccurs 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 Control.
EditFormLayoutCreatedFires when the edit form layout is created.
ExportRenderBrickAllows you to customize an exported grid element.
FilterControlColumnsCreatedOccurs after all filter control columns have been created. Inherited from ASPxGridBase.
FilterControlCriteriaValueEditorCreateAllows you to replace the default criteria value editor with a custom editor. Inherited from ASPxGridBase.
FilterControlCriteriaValueEditorInitializeFires when an editor in the criteria value is initialized. Inherited from ASPxGridBase.
FilterControlCustomValueDisplayTextAllows you to specify the entered filter value’s custom display text to be displayed when the filter control’s condition value editor is inactive. Inherited from ASPxGridBase.
FilterControlOperationVisibilityEnables you to dynamically hide operation items (such as the Equals, Contains, etc.) of the filter control’s operation dropdown menu. Inherited from ASPxGridBase.
FilterControlParseValueEnables you to process and modify an entered value before it is actually accepted by the filter control. Inherited from ASPxGridBase.
FocusedRowChangedFires when the row focus changes.
HeaderFilterEditorInitializeOccurs when a header filter editor is initialized.
HeaderFilterFillItemsAllows you to add custom header filter items to default items.
HtmlCommandCellPreparedEnables the settings of individual command column cells to be changed.
HtmlDataCellPreparedEnables you to change individual cell settings.
HtmlEditFormCreatedOccurs when a table row, which corresponds to the Edit Form, has been created.
HtmlFooterCellPreparedEnables the settings of individual footer cells to be changed.
HtmlRowCreatedOccurs when a table row has been created.
HtmlRowPreparedEnables the settings of individual rows to be changed.
InitOccurs when the server control is initialized, which is the first step in its lifecycle. Inherited from Control.
InitNewRowEnables you to initialize added rows.
LoadOccurs when the server control is loaded into the Page object. Inherited from Control.
PageIndexChangedFires after the selected page has been changed. Inherited from ASPxGridBase.
PageSizeChangedFires on the server side after the page size, i.e., the number of data items (rows, cards or records) per a page is changed by end-user interactions. Inherited from ASPxGridBase.
ParseValueEnables you to process and modify an entered value before it is actually accepted by the grid. Inherited from ASPxGridBase.
PreRenderOccurs after the Control object is loaded but prior to rendering. Inherited from Control.
ProcessColumnAutoFilterEnables you to apply custom filter criteria when filter row is in the Auto mode.
ProcessOnClickRowFilterEnables you to apply custom filter criteria when the filter row is in the OnClick mode.
RowCommandFires when a control contained within a templated grid row raises the Command event.
RowDeletedOccurs after a row has been deleted.
RowDeletingEnables you to prevent a row from being deleted.
RowInsertedFires after a new row has been added to the ASPxGridView.
RowInsertingEnables you to cancel adding a new row.
RowUpdatedOccurs after a row has been updated.
RowUpdatingEnables you to prevent a row from being updated.
RowValidatingEnables you to specify whether row data is valid and whether the row can be updated.
SearchPanelEditorCreateEnables you to replace the default search panel editor with custom one.
SearchPanelEditorInitializeEnables you to customize the properties of an editor displayed within the search panel.
SelectionChangedFires when the row selection changes. Inherited from ASPxGridBase.
StartRowEditingEnables you to prevent a row from being edited.
SubstituteFilterAllows you to replace a filter applied with another filter. Inherited from ASPxGridBase.
SubstituteSortInfoFor internal use only. Inherited from ASPxGridBase.
SummaryDisplayTextEnables custom display text to be provided for any summary value.
ToolbarItemClickFires after a toolbar item has been clicked.
UnloadOccurs when the server control is unloaded from memory. Inherited from Control.

See Also

ASPxGridView Class

ASPxGridView Members

DevExpress.Web Namespace