asp.net.ph

SiteMapPath.PathSeparatorTemplate Property

System.Web.UI.WebControls Namespace   SiteMapPath Class


.NET Framework version 2.0

Specifies the template to use for the path separator in a SiteMapPath control.

Syntax

<asp:sitemappath ... >

   <pathseparatortemplate>
      ... template definition here
   </pathseparatortemplate>

</asp:sitemappath>

Property Value

An ITemplate interface that defines how the path separator in a SiteMapPath control is rendered.

The property is read/write with no default value.

Remarks

The PathSeparatorTemplate functions in the same way as the NodeTemplate, but is rendered only for the path separator in a SiteMapPath control.

To specify a template for the path separator in a SiteMapPath control, declare a <PathSeparatorTemplate> element between the opening and closing tags of the control. You can then list the contents of the template between the opening and closing <PathSeparatorTemplate> ... </PathSeparatorTemplate> tags.

In the PathSeparatorTemplate, declare the appropriate server control, such as an Image or HyperLink control, that you intend to use.

See Also

SiteMapPath Members   Customizing the SiteMapPath User Interface Skip Navigation Links




Previous page Back to top Next page

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