ASP.NET
(1)
Standard
(1)
CurrentStyle.zIndex
(1)
Sitemap
(1)
Quirks
(1)
Inorrial
(1)
Giorgio
(1)
Zindex
(1)

Sitemap works but my drop downs from asp:Menu are blank

Asked By Cal Who
21-Nov-09 02:28 PM
My drop downs for asp:Menu are simply white rectangles.

However my site map works ok.

Do you know what might cause that?



Thanks

Give an example of the code, please.

Alexey Smirnov replied to Cal Who
22-Nov-09 03:33 PM
Give an example of the code, please.

Give an example of the code, please.That would be a lot of text.

Cal Who replied to Alexey Smirnov
22-Nov-09 03:51 PM
Give an example of the code, please.

That would be a lot of text.

But anyway, The problem went away by itself.


Thanks for replying

Great. I think it was something with an encoding.

Alexey Smirnov replied to Cal Who
23-Nov-09 05:04 AM
Great. I think it was something with an encoding.
I thought the problem when away but that was because it does not happen in
Cal Who replied to Cal Who
23-Nov-09 04:32 PM
I thought the problem when away but that was because it does not happen in FF
only in IE8 and I started to us FF.

In fact, in IE8 I opened the developer tool and changed to Quirks mode or
IE7 and it works OK.

Do you have a suggestion as to what I should do?

The menu code follows.



DataSourceID="SiteMapDataSource1"

Orientation="Horizontal" StaticMenuItemStyle-Font-Names="verdana, arial,
helvetica, sans-serif"

StaticEnableDefaultPopOutImage="false" StaticMenuItemStyle-CssClass="alink"

StaticHoverStyle-CssClass="ahover" StaticSelectedStyle-CssClass="avisited"

StaticSubMenuIndent="0px"


DynamicMenuItemStyle-Font-Names="verdana, arial, helvetica, sans-serif"

DynamicEnableDefaultPopOutImage="false"
DynamicMenuItemStyle-CssClass="alink"

DynamicHoverStyle-CssClass="ahover"
DynamicSelectedStyle-CssClass="avisited">







Thanks
I found one way.
Cal Who replied to Cal Who
23-Nov-09 05:01 PM
I found one way. That is to put IE into IE7 mode
inorrial,isited"f"/>/>quoted text -Okay, I think I got it now.
Alexey Smirnov replied to Cal Who
23-Nov-09 06:16 PM
in
or
rial,
isited"
f"
/>
/>
quoted text -

Okay, I think I got it now. I have been confused by your first post and
thought that it might be something different. ASP Menu has some known
issues, please look in to the following post
http://blogs.msdn.com/giorgio/archive/2009/02/01/asp-net-menu-and-ie8-rende=
ring-white-issue.aspx
and see if it will help you.
Okay, I think I got it now.
Cal Who replied to Alexey Smirnov
23-Nov-09 07:36 PM
Okay, I think I got it now. I have been confused by your first post and
thought that it might be something different. ASP Menu has some known
issues, please look in to the following post
http://blogs.msdn.com/giorgio/archive/2009/02/01/asp-net-menu-and-ie8-rendering-white-issue.aspx
and see if it will help you.
======
I had already found and used the meta solution but it meant running IE* as
IE7
Your site shows a much better solution using css and I moved to that.

Thanks
ne2"arial,rif"x" />" />de quoted/archive/2009/02/01/asp-net-menu-and-ie8...
Alexey Smirnov replied to Cal Who
24-Nov-09 04:04 AM
n
e
2"
arial,
rif"
x" />
de quoted
/archive/2009/02/01/asp-net-menu-and-ie8...
s

Glad that it helped. The problem is that by default IE8 (unlike all
the previous ones) is following CSS standards. Specifically,
(element).currentStyle.zIndex returns "auto" in Standard mode when
zindex has not been set. The ASP.NET Menu control assumes a different
Post Question To EggHeadCafe