System.Web.UI.WebControls Namespace SiteMapPath Class
.NET Framework version 2.0
Specifies the template to use for displaying the nodes of a SiteMapPath control.
<asp:sitemappath ... > <nodetemplate> ... template definition here </nodetemplate> </asp:sitemappath>
An ITemplate interface that defines how the nodes of a SiteMapPath control are rendered.
The property is read/write with no default value.
Use the NodeTemplate property to define custom content for each node in a SiteMapPath control.
To specify a template for displaying nodes in a SiteMapPath control, declare a <NodeTemplate> element between the opening and closing tags of the control. You can then list the contents of the template between the opening and closing <NodeTemplate> ... </NodeTemplate> tags.
<NodeTemplate> ... </NodeTemplate>
In the NodeTemplate, declare the appropriate server control, such as an Image or HyperLink control, that you intend to use.
SiteMapPath Members CurrentNodeTemplate RootNodeTemplate Customizing the SiteMapPath User Interface
Check out related books at Amazon
© 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