Edit this page

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

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy