New to Telerik UI for ASP.NET AJAX? Download 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.

  1. The instance of the ribbonbar firing the event.

  2. 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.

See Also

In this article