1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Loose selected state in naviation when using paging

Loose selected state in naviation when using paging

2 posts, 0 answered
  1. Laura
    Laura avatar
    311 posts
    Registered:
    25 Feb 2008
    11 Jul 2010
    Link to this post
    I have a news control on a page with the paging set.  On the left side of the page is my navigaion which shows the second level nav.   

    So in the left side navigation, "In the News" is highlighted.     I have a page underneath (in the site map in the CMS) this page that lists all the news items with pagination set.  After clicking on page 2 or 3 etc. I lose the selected state of the nav item "In the News".  

    Why is that?  is this expected behavior?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    11 Jul 2010
    Link to this post
    Hello Laura,

    Could you set the selected item in Page_Load of your control explicitly. If you use RadPanelBar control you could use Selected property of RadPanelItem. For RadMenu, you can use item.CssClass = "rmSelected";
     
     
    All the best,
    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