PathSeparator is not rendering in asp menu control
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" Navig开发者_如何学PythonateUrl="~/Default.aspx">
<asp:MenuItem Text="About Us"></asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
am I missing anything here? Any help will be appreciated
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.
精彩评论