Select Tab By Coding

3 posts, 0 answers
  1. Saravanan
    Saravanan avatar
    4 posts
    Member since:
    Mar 2009

    Posted 14 May 2009 Link to this post

    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. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 15 May 2009 Link to this post

    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.
  3. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 15 May 2009 Link to this post

    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.
Back to Top