Click or drag to resize
KaxSiteMapNodeSeparatorTemplate Property
Gets or sets the separator template for the node.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ITemplate SeparatorTemplate { get; set; }

Property Value

Type: ITemplate

An object implementing the ITemplate interface. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.

To specify common display for all nodes use the KaxSiteMap.DefaultLevelSettings.SeparatorTemplate property.

The separator is rendered only in Flow mode.

Examples

The following template demonstrates how to add custom separator to a certain node.

ASPX:

<kettic: KaxSiteMap runat="server" ID="KaxSiteMap1"> <Nodes> <kettic:KaxSiteMapNode Text="Root Node" > <Nodes> <kettic:KaxSiteMapNode> <SeparatorTemplate> <asp:Image ID="Image1" runat="server" ImageUrl="MySeparator.gif"></asp:Image> </SeparatorTemplate> </kettic:KaxSiteMapNode> </Nodes> </kettic:KaxSiteMapNode> </Nodes> </kettic:KaxSiteMap>

See Also