New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientButtonToggling
The OnClientButtonToggling client-side event occurs when the user clicks on a ribbonbar toggle button, before the ribbonbar responds to the mouse click.
-
The instance of the ribbonbar firing the event.
-
An eventArgs parameter containing the following methods:
-
get_button() returns a reference of the toggle button which is clicked.
-
set_cancel() lets you cancel the event and prevent the default action.
-
get_domEvent() returns the DOM event object.
-