SiteMapNodeCommandEventArgs.CommandSource Property
Gets an object representing the control which forced a postback.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
Object | A Object representing the control which forced a postback. |
Remarks
The ASPxSiteMapControlBase.NodeCommand event fires when a control residing on a site map node’s template raises the Command event. This can occur when the Button control residing on a template for a node 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 site map node’s template to display controls within it. refer to the ASPxSiteMapControlBase.NodeTemplate and LevelProperties.NodeTemplate property descriptions for more details.