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

Forums / Developing with Sitefinity / StartingNodeUrl property not present in SitePanelBar

StartingNodeUrl property not present in SitePanelBar

4 posts, 0 answered
  1. san
    san avatar
    61 posts
    Registered:
    20 Aug 2010
    19 Aug 2011
    Link to this post
    Hello,

    I am using the Site PanelBar for navigation for our site, but I am not able to find the StartingNodeUrl property for Site PanelBar control. Am I missing something ? or the Site PanelBar does not expose this property directly in the user interface. Please refer to the attached screenshot. We are using Sitefinity 3.7 SP3 version.

    Please let me know.Thank you for your time.
  2. san
    san avatar
    61 posts
    Registered:
    20 Aug 2010
    22 Aug 2011
    Link to this post
    Any suggestions?
  3. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    24 Aug 2011
    Link to this post
    Hi San,

    Please go to ~/Sitefinity/UserControls/Navigation35/SitePanelbar.ascx.cs and add the bellow property:
    /// <summary>
    /// (Exposed from contained SitemapDataSource.) Gets or sets an URL
    /// of starting node that determines the root hierarchy that is
    /// exposed by the data source control.
    /// </summary>
    ///
    [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;
        }
    }

    Kind regards,
    Radoslav Georgiev
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  4. san
    san avatar
    61 posts
    Registered:
    20 Aug 2010
    24 Aug 2011
    Link to this post
    Thank you!
Register for webinar
4 posts, 0 answered