473,395 Members | 1,484 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Displaying Menus

11
Hi
This is Urgent,
Can anyone tell me tht how should i use menu's in ASP.net application . I want only main menu's should be displayed . But when mouse pointer is taken over it , it should show me sub menus within it .And the sub menu should disappear again when pointer of mouse is taken away from main menu. If possible plz pass on the code.

Thanks in Advance
Mar 2 '07 #1
6 1001
kenobewan
4,871 Expert 4TB
This usually done through dhtml and takes advantage of client-side scripting not posting back to the server every time the event is triggered.
Mar 2 '07 #2
The scenario you say takes place in ASP.NET menu items use:

Expand|Select|Wrap|Line Numbers
  1. <asp:Menu ID="Menu1" runat="server">
  2.             <Items>
  3.                 <asp:MenuItem Text="a" Value="a">
  4.                     <asp:MenuItem Text="aa" Value="aa"></asp:MenuItem>
  5.                 </asp:MenuItem>
  6.                 <asp:MenuItem Text="b" Value="b"></asp:MenuItem>
  7.             </Items>
  8. </asp:Menu>
Here you can see the main menu and submenu is displayed only when you bring your mouse over the menu item.
Mar 2 '07 #3
radcaesar
759 Expert 512MB
Whats ur .net version ?
Mar 2 '07 #4
use java script to creat menu that is client side coding
Mar 3 '07 #5
vijaydiwakar
579 512MB
Hi
This is Urgent,
Can anyone tell me tht how should i use menu's in ASP.net application . I want only main menu's should be displayed . But when mouse pointer is taken over it , it should show me sub menus within it .And the sub menu should disappear again when pointer of mouse is taken away from main menu. If possible plz pass on the code.

Thanks in Advance
there is a lot of free java script code available on net
but suarly for that u have to use java script
Mar 3 '07 #6
kiran01
11
I m using .net version 2005
Mar 6 '07 #7

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

Similar topics

33
by: LRW | last post by:
http://gto.ie-studios.net/index.php When you view the above site in IE, if the 1st of the three product images is tall enough to push the cell down a couple of pixels, IE somehow doesn't show...
1
by: Akinyemi | last post by:
I am currently working on a Payroll Program. I want the Program to display user helps or hints for sub-menus on a Status bar or label. I have been able to write such codes for Text boxes. I also want...
5
by: BA | last post by:
Hi there I am trying to write an "application" in Access 2000, that displays a front end and allows the user to interact with the database without seeing Access loaded, in the background, nor on...
10
by: lenzie | last post by:
I am having a very odd problem with a website I run. The menus have recently been changed to use javascript and some people are reporting that when they first use the site, Instead of a nicely...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...
0
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...

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.