ASPxTitleIndex.IndexPanelItemCommand Event
Fires when a control contained within a templated index panel item raises the Command event.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public event IndexPanelItemCommandEventHandler IndexPanelItemCommand
#Event Data
The IndexPanelItemCommand event's data class is IndexPanelItemCommandEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Command |
Gets the argument for the command.
Inherited from Command |
Command |
Gets the name of the command.
Inherited from Command |
Command |
Gets an object representing a control which forced a postback. |
Group |
Gets the value of an index panel item object related to the event. |
#Remarks
An ASPxTitleIndex control allows the contents of its index panel items to be customized through defining templates. A template for index panel items can be specified using the ASPxTitleIndex.IndexPanelItemTemplate property. A template is a set of HTML elements and controls which constitute an index panel item’s layout.
The IndexPanelItemCommand event is raised when the control contained within a templated index panel item raises the Command event. The processed item can be identified by the IndexPanelItemCommandEventArgs.GroupValue property.