Using the. NET control to implement the specific methods of the Drop-down navigation menu-practical skills

Source: Internet
Author: User
A small test today is for teachers to use. NET using controls to make a pull menu requires the following:
Move the mouse over the parent menu to pop up 3 submenus, and each submenu has a hyperlink.
Here's the code I made myself:
Copy Code code as follows:

<asp:menu id= "Menu1" runat= "server" orientation= "horizontal" width= "100%"
Font-size= "14px" forecolor= "#161621" font-bold= "True"
Pathseparator= "1" staticenabledefaultpopoutimage= "False"
>
<dynamicmenustyle backcolor= "#D0E6DE"/>
<dynamicmenuitemstyle itemspacing= "5px"/>
<Items>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/introduce.aspx?id=1" ></asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "navigateurl=" ~/introduce.aspx?id=2 "></asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/pintroduce.aspx?id=1" ></asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/pintroduce.aspx?id=2" ></asp:MenuItem>
</asp:MenuItem>
<asp:menuitem text= "It Practitioners" valuenavigateurl= "~/news.aspx" ></asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/product.aspx?id=1" >
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/product.aspx?id=0" ></asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/product.aspx?id=1" ></asp:MenuItem>
</asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/message.aspx" ></asp:MenuItem>
<asp:menuitem text= "It Practitioners" value= "It Practitioners" navigateurl= "~/download.aspx" ></asp:MenuItem>
<asp:menuitem text= "Online Contact" value= "online Contact" navigateurl= "~/content.aspx" ></asp:MenuItem>
</Items>
</asp:Menu>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.