4

PathSeparator is not rendering in asp menu control, below is my code


<asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" PathSeparator=">" StaticDisplayLevels="10">
    <Items>
        <asp:MenuItem Text="Home" NavigateUrl="~/Default.aspx">
            <asp:MenuItem Text="About Us"></asp:MenuItem>
        </asp:MenuItem>
    </Items>        
</asp:Menu>

am I missing anything here? Any help will be appreciated

Jith
  • 1,701
  • 3
  • 16
  • 22

1 Answers1

5

This behavior is by design: the value of the PathSeparator property is not supposed to be rendered on the page.

Its only purpose is to specify the separator character to use in the ValuePath property.

Frédéric Hamidi
  • 258,201
  • 41
  • 486
  • 479