set selectedtab

2 posts, 1 answers
  1. appdev
    appdev avatar
    223 posts
    Member since:
    Sep 2008

    Posted 08 Jul 2009 Link to this post

    i tried radtabstrip1.selectedtab = "Tab2" and it doesn't work but with radtabstrip1.selectedindex = 1 then it works fine. Is that function disable? or did i do something wrong? please help thanks.
  2. Answer
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 Jul 2009 Link to this post

    Hi Duy,

    The SelectedTab property of RadTabStrip is readonly and it returns the child tab which is currently selected. You can try the following code to set the tab as selected based on tab text.

    RadTabStrip1.FindTabByText("Tab2").Selected = true

Back to Top