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

Set default tab at design time

3 Answers 84 Views
Tabstrip (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Duane
Top achievements
Rank 1
Duane asked on 23 Nov 2010, 10:16 PM
Hi Guys,

RE: TabStrip 2009 Q2

Sorry if I am being a bit of a dunce, but how do you select the default tab at DesignTime? I can't see a way at the moment and am having to resort to doing it in code with:

tabMenu.SelectedTab = tabMenu_BlahTabItem

I have also tried leaving the tab I want to be the default tab selected when I close the form in DesignTime, but that does not appear to work. I am assuming the IsSelected property is readonly, as I can't change that either.

Thanks in advance,
Duane.

3 Answers, 1 is accepted

Sort by
0
Duane
Top achievements
Rank 1
answered on 25 Nov 2010, 12:11 PM
Anyone? :o)
0
Accepted
Nikolay
Telerik team
answered on 25 Nov 2010, 02:10 PM
Hi Duane,

Thank you for the question.

In regards to RadTabStrip, the selected tab depends on the last tab item where you have placed a control or where you have modified the size/location of a control. You can set the selected tab explicitly by setting the SelectedTab property programmatically just like you did.

I would suggest using RadPageView control instead of RadTabStrip. The item that you will get selected with RadPageView is the one selected at design-time. Please note that RadPageView was introduced in Q2 2010 release, so you will need to update your Telerik version. In addition, the new Q3 2010 released two weeks ago contains many improvements and fixes throughout the whole suite. You can refer to our Release Notes for additional information.

Should you require a quicker response, you may consider purchasing one of our licenses. The support tickets that you submit from a licensed account are reviewed with higher priority than the regular tickets and the forum threads. For additional information about the available support options, please refer to this link.

Should you need additional assistance, feel free to contact us.

All the best,
Nikolay
the Telerik team
Get started with RadControls for WinForms with numerous videos and detailed documentation.
0
Duane
Top achievements
Rank 1
answered on 26 Nov 2010, 09:45 AM

Hi Nikolay,

Thanks for that. I'll give that a go.

We can't really upgrade to 2010 controls at present, as when we downloaded the latest demo and tried to swap out the dll, there were far too many breaking changes. (Our application has 5 windows applications within it, with anywhere between 5 and 250 forms in each windows application!)

Thanks again.

Best regards,

Duane

Tags
Tabstrip (obsolete as of Q2 2010)
Asked by
Duane
Top achievements
Rank 1
Answers by
Duane
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or