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
.
精彩评论