Wednesday, October 10, 2012

Navigation Controls Values

There are some controls to navigate through in the master page, for example, logo control, site name control and more.
<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitleGraphic">

        <SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/images/siteIcon.png" runat="server"/>

NavigateUrl Value
~sitecollection/ or /
Leads to the root welcome page (site collection)
Leads to the current site welcome page.

Hope it helps,

No comments:

Post a Comment