Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET CSS
Dear Friends,
 

Am Creating a Website in Asp.net using C# and SqlServer 2005.
 
How to create MENUS in Asp.net such as
 
Home , aboutus, Services,Our values, Our Mission, Contact us.
 

I need Excellent Menus....to look a website a good look.
 
Please help me, Thanks in Advance.
Posted 2-Jul-12 20:47pm
Comments
Tamil Selvan K at 3-Jul-12 1:52am
   
you should see similar kind of menu when you create a ASP.NET Web Application from visual studio template itself.Using that you have to apply CSS to customize it.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Do some research on your part too. Don't just ask for everything.
 
Check the following:
MSDN: ASP.NET Menu Control Overview[^]
Dynamic Menu control in ASP.NET using jQuery[^]
  Permalink  
Comments
member60 at 3-Jul-12 6:48am
   
+5
Sandeep Mewara at 4-Jul-12 15:30pm
   
Thanks.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

The ASP.NET Menu control allows you to develop both statically and dynamically displayed menus for your ASP.NET Web pages.
You can configure the contents of the Menu control directly in the control, or you can specify the contents by binding the control to a data source.
 
Without writing any code, you can control the appearance, orientation, and content of an ASP.NET Menu control.
 
In addition to the visual properties exposed by the control, the control supports ASP.NET control skins and themes.
 
For more information on skins and themes, see ASP.NET Themes and Skins Overview[^].
 
Also check out: Menu Control Overview[^]
 
Refer a CP Article on same:
ASP.NET Horizontal Menu Control[^]
 
You can use JavaScript in menu, have look on another CP Article:
ASP.NET Dynamic XML Web Menu Control based on JavaScript[^]
 
Lot of articles on same, have a look at CodeProject Search[^]
  Permalink  
v2
Comments
member60 at 3-Jul-12 6:48am
   
+5
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

Asp have own menu control that u can use. and u can also apply CSS on that which give attractive look on menus. other option is that make a user control file and put a jquery menu or javascript menu. and register that user control on ur default page or master page.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

Hi ...
 
Please see the below code
 

<asp:menu id="menuMain" runat="server" style="z-index: 100; left: 19px; position: absolute; top: 296px; background-color: transparent;" backcolor="InactiveCaptionText" dynamichorizontaloffset="2" font-names="Verdana" font-size="0.8em" forecolor="#284E98" staticsubmenuindent="10px" tabindex="2" xmlns:asp="#unknown">
                        <items>
                        <asp:menuitem text="User Details" value="User Information">
                                <asp:menuitem navigateurl="~/Adduserlist.aspx" text="New User Creation">
                                  ></asp:menuitem>
                                  <asp:menuitem navigateurl="~/Adduserlogin.aspx" text=" User Login Creation">
                                  ></asp:menuitem>
                                
                            </asp:menuitem>
                            <asp:menuitem text="TASK" value="task Information">
                                <asp:menuitem navigateurl="~/Createtaskt.aspx" text="Create a TASK">
                                    Value="Create a New Project"></asp:menuitem>
                                
                            </asp:menuitem>
                            <asp:menuitem text="Task Status" value="Task Status">
                                <asp:menuitem navigateurl="~/Viewstatus.aspx" text="View Status" value="Create a Task">
                                </asp:menuitem>
                                
                            </asp:menuitem>
                            <asp:menuitem text=" Task Report" value="Task Report">
                                <asp:menuitem navigateurl="~/GetReport.aspx" text="Get Report">
                                    Value="Create a new Employee"></asp:menuitem>
                               
                            </asp:menuitem>
                            
                            <asp:menuitem text=" Daily Report" value="Daily Report">
                                <asp:menuitem navigateurl="~/Dailydetailreport.aspx" text="Daily Report">
                                    Value="Create a new Employee"></asp:menuitem>
                               
                            </asp:menuitem>
                            
                        </items>
                        <staticmenuitemstyle horizontalpadding="5px" verticalpadding="2px" />
                        <dynamicmenustyle backcolor="#B5C7DE" />
                        <staticselectedstyle backcolor="#507CD1" />
                        <dynamicselectedstyle backcolor="#507CD1" />
                        <dynamicmenuitemstyle horizontalpadding="5px" verticalpadding="2px" />
                        <statichoverstyle backcolor="InactiveCaption" forecolor="InactiveCaptionText" />
                        <dynamichoverstyle backcolor="InactiveCaption" forecolor="InactiveCaptionText" />
                    </asp:menu>
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 304
1 Maciej Los 285
2 Sergey Alexandrovich Kryukov 255
3 Shweta N Mishra 216
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 3 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100