SiteMap - Flow

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

When Flow layout is used nodes are rendered horizontally to fill the available width. Nodes automatically wrap.

If Flow layout is applied to a given level, the levels below it are not rendered.

When using Flow layout, the nodes are separated with a pipe symbol by default. You can change this using the SeparatorText property. The SeparatorTemplate property allows you to fully customize the separator and use images or custom markup.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="SiteMap.Examples.Flow.DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <telerik:RadSiteMapDataSource runat="server" ID="RadSiteMapDataSource1" ShowStartingNode="false"

    <div class="demo-container">
        <telerik:RadSiteMap runat="server" ID="SiteMap1" DataSourceID="RadSiteMapDataSource1"
                <telerik:SiteMapLevelSetting MaximumNodes="4">
                    <ListLayout RepeatColumns="2" AlignRows="true"></ListLayout>
                <telerik:SiteMapLevelSetting Layout="Flow" SeparatorText="&#x250A;" MaximumNodes="3">

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?