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

TabClick

The server-side TabClick event occurs when the user clicks on a tab, causing a postback.

The TabClick event handler receives two arguments:

  1. The RadTabStrip that contains the clicked tab. This argument is of type object, but can be cast to the RadTabStrip type.

  2. A RadTabStripEventArgs object. This object has a Tab property that you can use to access the tab that was clicked.

Use the TabClick event handler to respond when the user clicks a tab in the tab strip:

protected void RadTabStrip1_TabClick(object sender, RadTabStripEventArgs e)
{
   Telerik.Web.UI.RadTab TabClicked = e.Tab;
   Label1.Text = TabClicked.Value;
}               
Protected Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As RadTabStripEventArgs)
 Dim TabClicked As Telerik.Web.UI.RadTab = e.Tab
 Label1.Text = TabClicked.Value
End Sub                 
In this article