IndexPanelItemCommandEventArgs.CommandSource Property

Gets an object representing a control which forced a postback.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public object CommandSource { get; }
Public ReadOnly Property CommandSource As Object

Property Value

Type Description

A Object representing a control which forced a postback.


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