New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


The OnClientContextMenu client-side event occurs when the user right-clicks on a tab in the tab strip.

The event handler receives two parameters:

  1. The instance of the tab strip firing the event.

  2. An eventArgs parameter containing the following methods:

  • get_tab returns a reference to the RadTab that was clicked.

  • get_domEvent returns a reference to the DOM event object for the right-click.

You can use this event to perform special actions when the user right-clicks on a tab:

<script type="text/javascript">
function onRightClick(sender, eventArgs)
    var tab = eventArgs.get_tab();
    // var domEvent = eventArgs.get_domEvent();
    alert (tab.get_text() + " was right-clicked.");
<telerik:RadTabStrip RenderMode="Lightweight" ID="RadTabStrip1" runat="server" OnClientContextMenu="onRightClick">
In this article