About RadTab element

2 posts, 0 answers
  1. Joel
    Joel avatar
    28 posts
    Member since:
    Oct 2011

    Posted 01 Feb 2012 Link to this post

    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??.
  2. Bozhidar
    Bozhidar avatar
    1192 posts

    Posted 02 Feb 2012 Link to this post

    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();
    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
Back to Top