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

Forums / Set-up & Installation / RadPanelBar in SiteFinity Page

RadPanelBar in SiteFinity Page

3 posts, 0 answered
  1. Salman
    Salman avatar
    18 posts
    Registered:
    07 Nov 2007
    22 Nov 2007
    Link to this post

    Hi,

    I am using a RadPanelBar control in a SiteFinity page. RadPanelBar control contains some items that are hyperlinked to some pages. What i want is that if i directly open a URL (that is hyperlinked to some item in RadPanelBar) in the browser then the page should be opened and that RadPanelBar item (which was hyperlinked with that URL) should be shown in selected or focused state. Please let me know that how can i do it?

    Right now, when i directly open the URL in browser, RadPanelBar doesn't show that particular item (that is hyperlinked with the opened URL) in focused or selected state.

    Any quick help will be highly appreciated.

  2. Salman
    Salman avatar
    18 posts
    Registered:
    07 Nov 2007
    22 Nov 2007
    Link to this post
    Hi,

    I would like to give more better idea of what do i want.

    On this DNN demo of Telerik: http://dnn.telerik.com/, a RadPanelBar is used on left side bar. If you just open this URL: http://dnn.telerik.com/Products/RadTreeView/tabid/44/Default.aspx, you will see that RadTreeView item will automatically be shown selected in the RadPanelBar for showing to users that currently this page is opened. I want this behavior from my RadPanelBar control in SiteFinity page.

    I hope, now you understand my requirement.
  3. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    22 Nov 2007
    Link to this post
    Hi Salman,

    Actually, Sitefinity comes with predefined solutions for this scenario. They are represented in the form of controls which are already added to the toolbox (inside the Navigation group) and has the following names: SitePanelbar, SiteMenu, SiteTreeview and SiteTabstrip.

    Their function is to represent the site navigation and show the current page you are in without the need to write any further code. They are created as user controls and are located in the ~/Sitefinity/UserControls/Navigation folder.

    In order to use them, you should have one of these controls in every page. Because of this, it is most likely that you add them in a template which is used by most of the pages. For example, if you are using a SitePanelbar control and you click on some item, it would redirect you to some page. If this page has the SitePanelbar control in it, the control would check if the current page URL is contained in one of its items and if so, would mark that item as selected.

    Hope this does the job. Let me know if I am missing something.

    Sincerely yours,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
3 posts, 0 answered