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

Select tab item from many tab items

1 Answer 67 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
T.Y.
Top achievements
Rank 1
T.Y. asked on 03 Jan 2011, 07:27 AM
Hi,
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!
Thanks.

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 03 Jan 2011, 02:19 PM
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. 

Regards,
Petar Mladenov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
TabControl
Asked by
T.Y.
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or