Skip to main content
Tab

TreeViewNodeCommandEventArgs.CommandSource Property

Gets an object representing a control which forced a postback.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.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 ASPxTreeView.NodeCommand event fires when a control residing on a node’s template raises the Command event. For instance, this may occur when a Button control residing on a node template 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