New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientClicked
The clicked event is subsequent to the clicking event, and occurs when the RadSplitButton control is clicked. The event is fired after the client-side validation is completed, just before the page is submitted, and cannot be canceled.
The event handler receives two parameters:
-
The instance of the clicked RadSplitButton control
-
An eventArgs parameter of type Telerik.Web.UI.ButtonEventArgs, containing the following properties and methods:
-
get_commandName() - returns the value assigned to the RadSplitButton's CommandName property
-
get_commandArgument() - returns the value assigned to the RadSplitButton's CommandArgument property
-
This event should be used in scenarios where the user needs to execute custom client-side code when the button is clicked.