This is a migrated thread and some comments may be shown as answers.

RadTabStrip - Click Event

1 Answer 263 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Thomas Abruzzo
Top achievements
Rank 1
Thomas Abruzzo asked on 16 Jun 2010, 02:16 PM

We are trying to perform some code when the user clicks on a tab in the tab strip.  However, we also want to execute the same code when the user clicks on a tab that is already selected.  The TabClick event (see below) is not capturing it, is there another event that we need to bind to?

ASP.NET Code

<telerik:RadTabStrip ID="RadTabStrip1" OnTabClick="RadTabStrip1_TabClick" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0" Skin="Office2007" Style="padding-left: 50px;" ShowBaseLine="true">

C# code

    protected void RadTabStrip1_TabClick(object sender, RadTabStripEventArgs e)

    {

               //do something

    }

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 17 Jun 2010, 01:40 PM
Hello Thomas,

You need to set ClickSelectedTab property of the tabstrip to true in order to allow the selected tab to be clicked.

Regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ToolBar
Asked by
Thomas Abruzzo
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or