Select tab item from many tab items

2 posts, 0 answers
  1. T.Y.
    T.Y. avatar
    17 posts
    Member since:
    Apr 2009

    Posted 03 Jan 2011 Link to this post

    I use in radTabControl,I have more tabs.
    How I set in the code  the select tab?
    Do you have property to this?
    I want to open evry time other tab.

    Please help me!
  2. Petar Mladenov
    Petar Mladenov avatar
    3147 posts

    Posted 03 Jan 2011 Link to this post

    Hello T.Y.,

    You can use the RadTabControl.SelectedItem and RadtabControl.SelectedIndex properties.
    In order to change the SelectedTab, you can have an integer property ( for instance counter ) and do like so:
    tabControl.SelectedIndex = (counter++) % tabControl.Items.Count;
    Hope this info helps you. Please let us know if you need further assistance. 

    Petar Mladenov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top