Default tab

2 posts, 0 answers
  1. Remya
    Remya avatar
    30 posts
    Member since:
    Feb 2012

    Posted 17 Mar 2012 Link to this post

    Hi,

                                     I have put two tabs in my tabstrip and added a multipageview.Every time when i opens the tabstrip i want my first tab to be opened even i have opened the second one before last close.I have set the selectedindex to '0',but it doesn't work for me.
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 19 Mar 2012 Link to this post

    Hi Remya,

    You can use either client-side or server-side code and the pageLoad event where you can set the desired tab and pageview to be selected. For example you can refer to the below forum posts:
    • http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/setting-tab-client-side.aspx
    • http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/how-to-set-selected-tab---server-side.aspx 
    You can also take a look at our on-line documentation for more reference on the different methods that you can use on the client-side:
    • http://www.telerik.com/help/aspnet-ajax/tabstrip-client-side-basics.html
    • http://www.telerik.com/help/aspnet-ajax/tabstrip-client-side-radtabcollection.html
    • http://www.telerik.com/help/aspnet-ajax/tabstrip-multipage-radpageview-client-object.html 

    Regards,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top