Tab
A newer version of this page is available. Switch to the current version.

TreeViewNodeCommandEventArgs.CommandSource Property

Gets an object representing a control which forced a postback.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

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

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