How do you programmatically make the first tab visible?

3 posts, 0 answers
  1. Paul Brun
    Paul Brun avatar
    41 posts
    Member since:
    May 2010

    Posted 05 Jan 2011 Link to this post

    I am adding multiple TAB items to a tab control and after all have been added, it seems that the default is to display the last
    added tab item. How do we programmatically select the first tab to be displayed again?

    Paul
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 05 Jan 2011 Link to this post

    Hi Paul Brun,

    I am not able to reproduce your issue in my environment. Adding a RadTabItems declaratively, from code behind, or binding a business objects always makes the tabcontrol selects the first ( the leftmost )RadtabItem when it loads. We would highly appreciate if you send us a runnable sample so that we could investigate your issue in depth.
    However, you can use the RadTabControl.SelectedIndex or RadTabControl.SelectedItem property in order to make selection.

    Regards,
    Petar Mladenov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. Paul Brun
    Paul Brun avatar
    41 posts
    Member since:
    May 2010

    Posted 05 Jan 2011 Link to this post

    I was making the call in the wrong location....it is now working.....
    thanks
Back to Top