473,406 Members | 2,713 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,406 software developers and data experts.

Dropdownlist overlaps menu control

38
I have an aspx page containing a menu and some other controls including dropdown list.The problem is when i hover the mouse on menu control it displays all menu items.

But the part where dropdown control is renderd the menu part is gone behind the dropdown. I heard that it is aproblem of IE6 and related to z-index and all.



My sceario is like this:
1.I have a user control which contains the menu .This also contains some javascript to generate the menu depending on the menu item selected.
2. I put this user control to a Masterr page
3. There is a dropdown list (which is the culprit) in content page which is always on top of th menu.

I came to know that iframe is a solution. But I cant make it workable in my scenario.

Could anybody lend a helping hand here.

Thanks in advance,

Jaleel
Apr 1 '08 #1
2 2326
This sounds like a styling problem to me?
Are you using a stylesheet?
If so this can be sorted using z-index as you stated.
The z-index is the ordering of how somthing appears on your page, a low z-index will be further back that somthing with a higher z-index.and therefore a high z-index "object" will overlap the lower z-indexed one.

I dont really know how you've set up your drop down menu but somthing like this should work

put the CONTENT of your menu in a div.
set the styling of your menu div to have z-index of say 100.

now set whatevers overlapping your menu in a div too
and set that div to have z-index of say 1

you must set the zindexs of both divs or they wont interact with eachother how you wish.

If this isnt particularly possible to your design and you cant find a solution, id suggest scrapping your javascript menu and many going with a pure css dropdown menu,theres plenty of prebuilt ones online.
Apr 1 '08 #2
jaleel
38
Thanks Ashlewis .

I came to knew from various articles that dropdown list and list boxes are windows controls and they do not have z-index property. Actually I tried ur suggestion but not working in my case.

I heard about a solution of using <iframe>. But struggling to makr it working in my application.
Apr 3 '08 #3

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

Similar topics

4
by: DotNetJunky | last post by:
I have built a control that runs an on-line help system. Depending on the category you selected via dropdownlist, it goes out and gets the child subcategories, and if there are any, adds a new...
10
by: Sacha Korell | last post by:
I'm trying to load a drop-down list with all DropDownList control names from another page. How would I be able to find those DropDownList controls? The FindControl method will only find a...
1
by: I am Sam | last post by:
I have two DropDownList controls in a web form and I need to test which control has changed without wrapping it in a SelectedIndexChange Event. How do I go about this issue? I have tried the...
2
by: ha_shaikh | last post by:
In our web application(ASP.Net), we have database driven menus that are of dropdown style on getting focus (a requirement). We've used Javascript Menu Object for creating these menus. On different...
2
by: Ken Carter | last post by:
Web form VS 2005... DropDownList has text describing links and url's. What I want to do is have the DropDownList1.SelectedIndexChanged event perform a hyperlink to the Value in the control at...
2
by: glenn | last post by:
Hi folks, I am trying to determine which item in a DropDownList Web control has been selected. I have posted an OnSelectedIndexChanged subroutine in my code with a reference to the subroutine...
15
by: glenn | last post by:
Hi folks, I have a DropDownList in a DataGrid that is populated from records in a database. I want to add a value that might be a string such as "Select a Company" for the first item since an...
1
by: singmadhan | last post by:
Hi Frnds, I am working in an ASP.Net Application and creating a DHTML menu using JavaScript. There is a drop down list box below the menu, when ever I am dragging the menu the DropDownList box...
3
by: =?Utf-8?B?RGVlcGE=?= | last post by:
Hi All, I have a webform in asp.net framework 1.1 where the dropdownlist is populated with list of locations from the database. The depending on the list selected, the user will be able to see...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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.