More in this section

Forums / Developing with Sitefinity / RadTabStrip behavior

RadTabStrip behavior

2 posts, 0 answered
  1. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    02 Mar 2010
    Link to this post

    Hi!

    I made my own control which is the same as BlogMultiView (http://www.sitefinity.com/blogs/radoslavgeorgiev/posts/10-01-21/tabbed_blog_controls.aspx) or as Showcases. But I have a problem with RadTabStrip behavior. When I am trying to choose some category my page reloads. But RadTabStrip shows me content of the default PageView( SelectesIndex="0"). How can I fix this behavior? I need to view PageView of tab with clicked category.

    Thank you.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    02 Mar 2010
    Link to this post
    Hello Paul,

    When you click on a link inside the multipage the RadTabStrip control looses its state and this is why every time the zero based tab is selected. I suggest that you should go through this post - Easily persist RadTabStrip Selected Tab using client-side API . You can sort out the problem on the server using the RadTabStrip.FindTabByUrl() method  inside the Page_Load method. The control should manually  update its state on each page load. You have to make sure that the control has all tabs on Page_Load.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered