Skip to main content
Tab

GroupHeaderCommandEventArgs.CommandSource Property

Gets an object representing a control which forced a postback.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public object CommandSource { get; }

Property Value

Type Description
Object

A Object representing a control which forced a postback.

Remarks

The ASPxTitleIndex.GroupHeaderCommand event fires when a control residing on a template for group headers raises the Command event. For instance, this may occur when a Button control residing on a group header template (ASPxTitleIndex.GroupHeaderTemplate) 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.

Note that you must specify a template for group headers to display controls within them. refer to the ASPxTitleIndex.GroupHeaderTemplate property description for more details.

See Also