asp.net.ph

SiteMapPath.NodeTemplate Property

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.

Syntax

<asp:sitemappath ... >

   <nodetemplate>
      ... template definition here
   </nodetemplate>

</asp:sitemappath>

Property Value

An ITemplate interface that defines how the nodes of a SiteMapPath control are rendered.

The property is read/write with no default value.

Remarks

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.

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

See Also

SiteMapPath Members   CurrentNodeTemplate   RootNodeTemplate   Customizing the SiteMapPath User Interface Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph