New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnCommand
OnCommand
The Server-side OnCommand event is raised when the RadRibbonBar has Command specified.
The event handler function receives two arguments:
-
The RadRibbonBar which has fired the event. This argument is of type object, but can be cast to the RadRibbonBar type.
-
An EventArgs object with the following properties:
-
CommandArgument - optional parameter passed to the Command event along with the associated CommandName.
-
CommandName -command name associated with the RadRibbonBarButton control that is passed to the Command event.
-