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

About RadTab element

1 Answer 43 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 01 Feb 2012, 10:45 PM
Hello everyone:

Im trying to manipulate RadTabStrip elements in codebehind and I've noticed that the element RadTab has an ID.....in my case is a letter " i " following by an incremental number (i0,i1,i2,i3-n);

Is there a way to set this ID through codebehind??.

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 02 Feb 2012, 03:04 PM
Hi Joel,

This property is the client ID of the tab, and is set automatically. Unfortunately it is readonly. You can access it on the server in the following way:
string tabClientID = RadTabStrip1.SelectedTab.ClientID.ToString();
 
Greetings,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
TabStrip
Asked by
Joel
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or