By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,694 Members | 2,122 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,694 IT Pros & Developers. It's quick & easy.

dropdown menu... in ASP

P: n/a
I have grabbed a menu from a javascript site (
http://www.dynamicdrive.com/dynamici...men3/index.htm ) and added to
my page.
The problem is however the dropdown comes down on top of text and input
boxes , as you would expect and desire, *but* behind dropdown boxes on the
page.
Surely there is a simple fix for this?
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Maybe the author could help?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Cheryl" <cj*****@hotmail.com> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
I have grabbed a menu from a javascript site (
http://www.dynamicdrive.com/dynamici...men3/index.htm ) and added to
my page.
The problem is however the dropdown comes down on top of text and input
boxes , as you would expect and desire, *but* behind dropdown boxes on the
page.
Surely there is a simple fix for this?

Nov 18 '05 #2

P: n/a
Hi,

"Cheryl" <cj*****@hotmail.com> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
I have grabbed a menu from a javascript site (
http://www.dynamicdrive.com/dynamici...men3/index.htm ) and added to
my page.
The problem is however the dropdown comes down on top of text and input
boxes , as you would expect and desire, *but* behind dropdown boxes on the
page.
Surely there is a simple fix for this?


There is no fix for this. Reason: the select html element (the output from
the asp.net DropDownList server control) is a windowed control and does not
support the z-index attribute or zIndex property. See the remarks:

http://msdn.microsoft.com/workshop/a...cts/select.asp

There is a workaround, sort of. Move the select html elements (the asp.net
DropDownList server controls) away from the area in which the menu expands.
There are also other ways (see the end of the following article
http://support.microsoft.com/?kbid=177378), but this is the one that
requires least effort.

Hope this helps
Martin Dechev
ASP.NET MVP
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.