More in this section

Forums / Developing with Sitefinity / Modifying Sitefinity controls at runtime

Modifying Sitefinity controls at runtime

2 posts, 0 answered
  1. Travis
    Travis avatar
    86 posts
    Registered:
    15 Oct 2008
    29 May 2009
    Link to this post
    I have several levels of navigation, and I am using a tree view control... I want to control, at a page level, how the node offsets work (so pages that, while they are not on the same level as a previous page, the menu still shows a higher level of menu). The treeview exists within a Template. Is this possible?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    30 May 2009
    Link to this post
    Hi Travis,

    The value of StartingNodeOffset identifies the number of levels up or down the sitemap hierarchy from the starting node that is identified by the StartFromCurrentNode and StartingNodeUrl properties to offset the starting node of the subtree that is exposed by data source control.
    If the valuie starting node is the node that represents the currently requested page, the StartingNodeOffset is ignored. If you have the control on your Master page and StartingNodeOffset is set to "1" . Thus when you are on a root page( item level = 0) you will not see the root page. You will see the chiild items in your RadTreeView.
     
    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered