Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Tabstrip (obsolete as of Q2 2010) > Set default tab at design time

Answered Set default tab at design time

Feed from this thread
  • Duane avatar

    Posted on Nov 23, 2010 (permalink)

    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.

    Reply

  • Duane avatar

    Posted on Nov 25, 2010 (permalink)

    Anyone? :o)

    Reply

  • Answer Nikolay Nikolay admin's avatar

    Posted on Nov 25, 2010 (permalink)

    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.

    Reply

  • Duane avatar

    Posted on Nov 26, 2010 (permalink)

    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Tabstrip (obsolete as of Q2 2010) > Set default tab at design time
Related resources for "Set default tab at design time"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]