[RESOLVED]how to use asp:Menu control (Horizental) with a beautiful style ?

iin my code  ↓↓↓

<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Orientation="Horizontal"></asp:Menu>

            <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" />

but style menu is ugly … i want to have beautiful style for asp:Menu  control  .

like telerik but with out use telerik component beacuase that are heavy for web .

<telerik:RadMenu ID="RadMenu1" runat="server" DataSourceID="SiteMapDataSource1" DataTextField="Title" DataValueField="Url"></telerik:RadMenu>
       <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" S

You can use Sliding Menu Using JQuery..

Hi,

Thanks for posting!

If you want to use asp.net control <asp:menu>,I think you need to set the menu css style like this:

http://msdn.microsoft.com/en-us/library/ms366731(v=vs.100).aspx

This link supplied some sample code for setting css style.

If you want to use js or jquery and css to set style,You can see this example:

http://www.codefear.com/scripts/25-free-jquery-menu-navigation/

http://sixrevisions.com/css/30_css_techniques_examples/

you can use those example and change some code.

Hope this helps!

 

Leave a Reply