asp.net.ph

Skip Navigation Links

Adding SiteMapPath Controls to a Web Forms Page

Controls You Can Use on Web Forms   ASP.NET Navigation Controls   SiteMapPath Control


Basically, to have a working SiteMapPath control on a Web Forms page, you just need to add the control to the page.

To add a SiteMapPath control to a Web Forms page

  1. Declare an <asp:SiteMapPath> element on the page, specifying at the very least the following:
    1. the control’s ID property, which serves to identify the control for programmatic access;
  2. Optionally set the control’s base properties. For syntax, see SiteMapPath Control Syntax.
<asp:sitemappath id="siteMapPath" runat="server" />
See Also

Introduction to the SiteMapPath Control   Customizing the SiteMapPath User Interface



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note