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

Forums / Developing with Sitefinity / Hidden pages and panel bar issues

Hidden pages and panel bar issues

2 posts, 0 answered
  1. Dandi
    Dandi avatar
    1 posts
    Registered:
    04 Feb 2011
    04 Feb 2011
    Link to this post
    Hi,

    I've created a hidden page but I still want items on the same level to appear in the panel bar, for example:
    -root:
        - page 1
        - page 2
        - hidden page (not shown)
        - page 3

    and

    -root:
        - page 1
        - page 2
            - hidden page (not shown)
        - page 3

    At the moment the only page that shows when I've selected a hidden page is the root.

    Any ideas on how to fix this?

    Thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    04 Feb 2011
    Link to this post
    Hi Dandi,

    You  have to create a custom control that is bound the a list of ICmsPage items which  you can get with CmsManger.GetPages(). The idea is to get the current page, if it is hidden the call its Parent. From the parent you can get the child nodes and rebind the RadPanlelBar control.

    You can take a look at workign with pages and RadPanelBar data binding

    Regards,
    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