Asp.net| Menu | dropdown <%@ Page language= "C #"%>
<!--asp.net 2.0 example-->
<body>
<form runat= "Server" >
<!--use declarative syntax to create the-->
<!--menu structure. submenu items are-->
<!--created by nesting them in parent menu-->
<!--items. -->
<asp:menu id= "Navigationmenu"
Disappearafter= "2000"
Staticdisplaylevels= "2"
Staticsubmenuindent= "10"
orientation= "Horizontal"
Font-names= "Arial"
target= "_blank"
runat= "Server" >
<staticmenuitemstyle backcolor= "#DDDDDD"
forecolor= "Red"/>
<statichoverstyle backcolor= "#DDDDDD"/>
<dynamicmenuitemstyle backcolor= "#EEEEEE"
forecolor= "Red"/>
<dynamichoverstyle backcolor= "#DDDDDD"
Forecolor= "Black"/>
<items>
<asp:menuitem navigateurl= "http://dotnet.aspx.cc/"
text= "Home"
tooltip= "Home" >
<asp:menuitem navigateurl= "Http://dotnet.aspx.cc/ShowList.aspx?id=1"
text= "asp.net column"
tooltip= "asp.net column" >
<asp:menuitem navigateurl= "Classical.aspx"
text= "asp.net latest article"
tooltip= "asp.net latest article"/>
<asp:menuitem navigateurl= "Rock.aspx"
text= "ASP.net questions and Answers"
tooltip= "asp.net question and Answer" >
<asp:menuitem navigateurl= "Classical.aspx"
text= "asp.net latest article"
tooltip= "asp.net latest article"/>
<asp:menuitem navigateurl= "Classical.aspx"
text= "asp.net latest article"
tooltip= "asp.net latest article"/>
</asp:menuitem>
<asp:menuitem navigateurl= "Jazz.aspx"
text= "Jazz"
tooltip= "Jazz"/>
</asp:menuitem>
<asp:menuitem navigateurl= "Movies.aspx"
text= "Movies"
tooltip= "Movies" >
<asp:menuitem navigateurl= "Action.aspx"
text= "Action"
tooltip= "Action" >
<asp:menuitem navigateurl= "Drama.aspx"
text= "Drama"
tooltip= "Drama"/>
</asp:menuitem>
<asp:menuitem navigateurl= "Drama.aspx"
text= "Drama"
tooltip= "Drama"/>
<asp:menuitem navigateurl= "Musical.aspx"
text= "Musical"
tooltip= "Musical"/>
</asp:menuitem>
</asp:menuitem>
</items>
</asp:menu>
</form>
</body>