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


The OnClientTabUnSelected client-side event occurs when the user selects a new tab, after the previously selected tab has been unselected.

The event handler receives two parameters:

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

  2. An eventArgs parameter containing the following method:

  • get_tab returns a reference to the RadTab that was previously selected.

  • get_domEvent returns a reference to the DOM event object for the action that caused the selection.

You can use this event to respond when the user deselects a tab:

function OnClientTabUnSelected(sender, args)
    var tab = args.get_tab();
    alert("The previously selected tab was " + tab.get_text());
<telerik:RadTabStrip RenderMode="Lightweight" ID="RadTabStrip1" runat="server" OnClientTabUnSelected="OnClientTabUnSelected" ... />     
In this article