Gets an object representing the control which forced a postback.
A Object representing the control which forced a postback.
The ASPxMenuBase.ItemCommand event fires when a control residing on a menu item’s template raises the Command event. This can occur when the Button control residing on a template for a menu item 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 menu item’s template to display controls within it. refer to the ASPxMenuBase.ItemTemplate, ASPxMenuBase.SubMenuTemplate and MenuItem.SubMenuTemplate property descriptions for more details.