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

Select Tab By Coding

2 Answers 96 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Saravanan
Top achievements
Rank 1
Saravanan asked on 15 May 2009, 03:16 AM

Hi

How to programatically change the tab strip multi page view.
When i change it programatically it changes correctly the tab. But it shows First page view contents only.

Example

addFrontEndPropertyTab.SelectedIndex = 1

Please give me a solution.

Thanks with Regards


Saravanan.M

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 15 May 2009, 08:51 AM
Hello Saravanan,

You can set the SelectedIndex property of the multipage as well along with the code to select the tab:
c#:
addFrontEndPropertyTab.SelectedIndex = 1 
RadMultiPage1.SelectedIndex = addFrontEndPropertyTab.SelectedTab.Index 

Thanks
Princy.
0
Paul
Telerik team
answered on 15 May 2009, 11:35 AM
Hello Saravanan,

Both RadTabStrip and RadMultiPage controls have SelectedIndex property and it should be set for both controls.

Greetings,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TabStrip
Asked by
Saravanan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Paul
Telerik team
Share this question
or