ASP.NET Menu. ExpertMenu - XML and CSS based DHTML Server-Side Menu Control for ASP.NET

Examples Quick Start ExpertMenu Designer Contact Us

ExpertMenu Quick StartAdding ExpertMenu to an ASP.NET page

Switch the page into design mode and drag and drop the ExpertMenu icon from Visual Studio Toolbox onto the page.

If you don't use Visual Studio or can't find the ExpertMenu icon on the Toolbox, follow three easy steps:

1. Make ExpertControls assembly available for your web application.
To do this, copy ASPNETExpert.WebControls.dll assembly to the bin directory of your web application.
If you use Visual Studio, add reference to ASPNETExpert.WebControls.dll to the application References.

2. Put the following statement at the top of the aspx page:
<%@ Register TagPrefix="ec" 
    Assembly ="ASPNETExpert.WebControls" %>
3. Place menu control where you want it in your page:
<ec:ExpertMenu runat="server" id="ExpertMenu1" />

Important notion. If you use ASP.NET 1.1, add the following statement to the <system.web> section of the application's Web.config file:
  <add verb="*" path="ExpertControlsWebResource.axd" 

Create menu structure.
If you run VisualStudio, you can use ExpertMenu Designer.
Otherwise, manually create menu structure.
<ec:ExpertMenu id="ExpertMenu1" runat="server" Skin="Office03Blue">
    <ec:MenuSeparator />
    <ec:MenuItem Text="File">
          <ec:MenuItem Text="Open" />
          <ec:MenuItem Text="Save" />
    <ec:MenuItem Text="Edit">
          <ec:MenuItem Text="Copy" />
          <ec:MenuItem Text="Paste" />
Here is the result:


To ease manual editing in Visual Studio, add reference to Expert Controls schema:
<body xmlns:ec="urn:">
Copyright © 2003-2022 ASP.NET Expert Group. All rights reserved.