开发者

menubar in asp.net

How do we create horizontal menubar in asp.net?

I want to create the menubar to contain links, clicking on which only the matter below the menubar should change.

I am beginning to 开发者_StackOverflowlearn web development. Please guide me with this.


Use this

<asp:Menu ID="TopMenu" runat="server" DataSourceID="MenuSource" Orientation="Horizontal" StaticSubMenuIndent="0" DynamicVerticalOffset="0"
            DynamicEnableDefaultPopOutImage="false" StaticEnableDefaultPopOutImage="false" />


Use the ASP.NET Menu (<asp:Menu ... >) control and set the Orientation property to Horizontal.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜