473,509 Members | 6,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a menu bar in .NET

3 New Member
how to create a menu bar in .net
Mar 19 '07 #1
5 3163
joerozario
60 New Member
use "menuitem" control form the tool bar
Mar 19 '07 #2
prisesh26
29 New Member
if u r developing windows app u can select contextmenu control in toolbar.
if its a web app.. u must write a script
Mar 19 '07 #3
joerozario
60 New Member
if it is a web application then u have to write Java scrip to get the menus.

u create a user control "banner of the web application" in this user control u write the javascript program for popup. then u use this user control in all the web pages
Mar 20 '07 #4
computerenigma13
36 New Member
if you are using VS2005 you can find a dotnetbar and use the ribbon form to make a menu and make it look sleek at the same time i would use the dotnetbar it easy
Mar 20 '07 #5
joerozario
60 New Member
Here is some sample code:

Expand|Select|Wrap|Line Numbers
  1.  <asp:menu id="NavigationMenu" 
  2. disappearafter="2000"
  3. staticdisplaylevels="2"
  4. staticsubmenuindent="10" 
  5. orientation="Vertical"
  6. font-names="Arial" 
  7. target="_blank" 
  8. runat="server">
  9.  
  10. <staticmenuitemstyle backcolor="LightSteelBlue"
  11. forecolor="Black"/>
  12. <statichoverstyle backcolor="LightSkyBlue"/>
  13. <dynamicmenuitemstyle backcolor="Black"
  14. forecolor="Silver"/>
  15. <dynamichoverstyle backcolor="LightSkyBlue"
  16. forecolor="Black"/>
  17.  
  18. <items>
  19. <asp:menuitem navigateurl="Home.aspx" 
  20. text="Home"
  21. tooltip="Home">
  22. <asp:menuitem navigateurl="Music.aspx"
  23. text="Music"
  24. tooltip="Music">
  25. <asp:menuitem navigateurl="Classical.aspx" 
  26. text="Classical"
  27. tooltip="Classical"/>
  28. <asp:menuitem navigateurl="Rock.aspx"
  29. text="Rock"
  30. tooltip="Rock"/>
  31. <asp:menuitem navigateurl="Jazz.aspx"
  32. text="Jazz"
  33. tooltip="Jazz"/>
  34. </asp:menuitem>
  35. <asp:menuitem navigateurl="Movies.aspx"
  36. text="Movies"
  37. tooltip="Movies">
  38. <asp:menuitem navigateurl="Action.aspx"
  39. text="Action"
  40. tooltip="Action"/>
  41. <asp:menuitem navigateurl="Drama.aspx"
  42. text="Drama"
  43. tooltip="Drama"/>
  44. <asp:menuitem navigateurl="Musical.aspx"
  45. text="Musical"
  46. tooltip="Musical"/>
  47. </asp:menuitem>
  48. </asp:menuitem>
  49. </items>
  50.  
  51. </asp:menu>
  52.  
Mar 21 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

6
2701
by: gonzalo briceno | last post by:
I have been using phplib for a while and I really like the framework except for form creation. Maybe it is me but I in my opinion there isn't a good way to create forms or should I say, everything...
2
1851
by: Michael Riggio | last post by:
Is there a way to create my own Start Menu bar, kind of like the ms office toolbar?
3
2249
by: Marius Rus | last post by:
I have an application write in c# and i want to offer to the user to create himself shortcuts with icons for the main menu items. I will very much appreciate if will receive an helping hand. Thank...
3
1175
by: Bart Schelkens | last post by:
Hi, i'm creating a web-application using VB.Net. ON my homepage I want to display a menu. Can anyone help me with this, I can't seem to find a control in .Net that creates menu's. I tried...
6
1402
by: JIM.H. | last post by:
Hello, How would you create menu in asp.net? Thansk, Jim.
1
355
by: Asad | last post by:
Hi, I am trying to write my first Windows application using VB.NET and I am having some difficulties designing the UI. Basically its one Windows Form with 4 menus on the top (no drop downs)....
3
1870
by: Miaaa Mukherjee | last post by:
I m creating a left side menu which contains too many inside menus in it. For Eg. Computer --> Software-->.Net 2005-->Microsoft Visual Studio 2005. I want to know the code after creating this...
3
1276
by: learningJavaScript | last post by:
Hi All, This is my code.... function SessionMenu(tableContainer){ var menu = new Object(); menu.dateCollection = null ;
2
1675
by: vidhyapriya | last post by:
Hi all, I am creating user controls for developing menu for my application.I am not using default menu bar,creating my own menu using user controls.I want my user controls above the form.For Example...
2
1187
by: dilipv | last post by:
hi there, can one one help me to reply how to create dynamic menu in asp.net as i am creating website. so i need to add menu's like "Home", Contact us, about us etc. i am using asp.net 2.0.can...
0
7347
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7416
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7073
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5062
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3207
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.