Edit this page


The OnClientContextMenu client-side event occurs just prior to opening a context menu (upon right-clicking a panel item).

The event handler receives two parameters:

  1. An instance of the panel bar that fired the event.

  2. An eventArgs parameter containing the following method:

    • get_item(): retrieves a reference to the clicked item.

    • get_domEvent(): returns the DOM event object for the mouse click.

    function OnClientContextMenu(sender, args) {
        alert("The " + args.get_item().get_text() + " has been right-clicked");
<telerik:radpanelbar id="RadPanelBar1" runat="server" onclientcontextmenu="OnClientContextMenu">       
Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article