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

Getting tabstrip text on page load

4 Answers 47 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 28 May 2016, 07:14 AM

hi

how do i get the selected tab text on page load? Thanks a lot.

 

 protected void Page_Load(object sender, EventArgs e)
            {
        
                if(!IsPostBack)
                {
                   RadTabStrip1.SelectedIndex = 0;
                   string x = RadTabStrip1.SelectedTab.Text;
       
                }
            }

4 Answers, 1 is accepted

Sort by
0
L
Top achievements
Rank 1
answered on 28 May 2016, 02:58 PM

i forgotten to post the data binding part for the tabstrip:

        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Width="1600px"  Align="Justify" DataSourceID="SqlDataSource1"  DataTextField="DateAltKey" DataValueField="DK" Skin="Metro" OnTabClick="RadTabStrip1_TabClick"></telerik:RadTabStrip>

0
Ivan Danchev
Telerik team
answered on 31 May 2016, 07:22 AM
Hello,

I replied to your inquiry in the other identical thread you opened. If you have more questions on the subject I suggest we continue the discussion in it.

Regards,
Ivan Danchev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
L
Top achievements
Rank 1
answered on 01 Jun 2016, 03:17 PM

hi

Sorry i could not find your reply to my inquiry. Can you show me the link to your reply? Thank you so much.

0
Ivan Danchev
Telerik team
answered on 03 Jun 2016, 03:54 PM
Hello,

Here's the link to the thread.

It seem we have had a problem with the ticketing system and my post did not go live as expected. Even though I posted my reply on May 31 and it was visible in the ticketing system, it wasn't in the forums. This is a very unusual behavior and I would like to apologize for the confusion and inconvenience caused. I posted it again so it is now visible.

Regards,
Ivan Danchev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
TabStrip
Asked by
L
Top achievements
Rank 1
Answers by
L
Top achievements
Rank 1
Ivan Danchev
Telerik team
Share this question
or