IndexPanelItemCommandEventArgs.CommandSource Property
Gets an object representing a control which forced a postback.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Object | A Object representing a control which forced a postback. |
Remarks
The ASPxTitleIndex.IndexPanelItemCommand event fires when a control residing on an index panel item‘s template raises the Command event. For example, this may occur when a Button control residing on an ASPxTitleIndex‘s index panel item template (ASPxTitleIndex.IndexPanelItemTemplate) is clicked. In this instance, the CommandSource property returns the clicked Button control. This can be used to identify the control that forced a postback, if there are several controls residing on a template.
See Also