\" StaticDisplayLevels=\"10\">" />
开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜