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

SitetreeView

3 posts, 1 answered
  1. Ted
    Ted avatar
    28 posts
    Registered:
    08 Jan 2008
    01 Oct 2010
    Link to this post
    I have a need to make a custom SiteTreeView that I can set the start node on.


    I can't figure out how to set the start node of the SiteTreeView or how to change the datasource.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    01 Oct 2010
    Link to this post
    Hello Ted,

    You can add the following public property to the control

    [WebEditor("Telerik.Cms.Web.UI.UrlEditorWrapper, Telerik.Cms")]
    [Browsable(true)]
    [Category("Navigation")]
    public string StartingNodeUrl
    {
        get
        {
            return this.SiteMapDataSource1.StartingNodeUrl;
        }
        set
        {
            this.SiteMapDataSource1.StartingNodeUrl = value;
        }
    }


    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
    Answered
  3. Ted
    Ted avatar
    28 posts
    Registered:
    08 Jan 2008
    01 Oct 2010
    Link to this post
    Thanks again Ivan.  worked great.
Register for webinar
3 posts, 1 answered