I have been having some issues with IE7 and my modal popup., I tried to get a response on this forum already, and its gone a little quite and think that the better forum to post in is this one (original post is
here)
Basically, I have a master page that has an asp:menu control in it, and a content place holder. When using this master page, the menu control's sub menus (appear on hover) renders behind the content. To fix this, I have set the menu z-index to 1 which fixes
the problem.
However, when I do this the menu is alway in front of any modal popup that I open, this is particuly annoying as if the screen resolution is below a certain level the menu will be on top of the content in the popup panel.
Generally, this should work normal. So I am not sure why you got this scenario. I suggest you debug with IE Developer Tools. Any more question, please feel free to reply.
Please mark the replies as answers if they help or unmark if not.
Feedback to us
obrien.james
Member
11 Points
55 Posts
Modal Popup, IE7, Menus and Z-Index
Jan 03, 2013 07:45 AM|LINK
Hi,
I have been having some issues with IE7 and my modal popup., I tried to get a response on this forum already, and its gone a little quite and think that the better forum to post in is this one (original post is here)
Basically, I have a master page that has an asp:menu control in it, and a content place holder. When using this master page, the menu control's sub menus (appear on hover) renders behind the content. To fix this, I have set the menu z-index to 1 which fixes the problem.
However, when I do this the menu is alway in front of any modal popup that I open, this is particuly annoying as if the screen resolution is below a certain level the menu will be on top of the content in the popup panel.
This problem only occurs in IE7
IE8/9, chrome and FF all work fine
Any help would be greatly apprecitated
James
nikunjnandan...
Participant
872 Points
223 Posts
Re: Modal Popup, IE7, Menus and Z-Index
Jan 03, 2013 09:21 AM|LINK
Hii,
Try to set your modal pop's z-index max as possible. Like 99999999 and then check.
Nikunj Nandaniya
My Blog
obrien.james
Member
11 Points
55 Posts
Re: Modal Popup, IE7, Menus and Z-Index
Jan 03, 2013 01:01 PM|LINK
Song-Tian - ...
All-Star
43699 Points
4304 Posts
Microsoft
Re: Modal Popup, IE7, Menus and Z-Index
Jan 04, 2013 07:56 AM|LINK
Hi,
Just add the BackgroundCssClass="modalBackground" for ModalPopupExtender.
The css file like this:
.modalBackground {background-color:Gray;filter:alpha(opacity=70);opacity:0.7;}
Feedback to us
Develop and promote your apps in Windows Store
obrien.james
Member
11 Points
55 Posts
Re: Modal Popup, IE7, Menus and Z-Index
Jan 04, 2013 12:08 PM|LINK
I have this set already,
The issue is that the menu is still 'active' when you hover over it etc... even when modal popup is showing.
James
chetan.sarod...
All-Star
65619 Points
11118 Posts
Re: Modal Popup, IE7, Menus and Z-Index
Jan 04, 2013 12:34 PM|LINK
Refer this
http://web.enavu.com/snippets/fixing-the-ie7-z-index-issue-internet-explorer-7-z-index/
http://stackoverflow.com/questions/1018029/problem-in-z-index-of-menu-and-ajax-modalpopupextender-in-asp-net
http://forums.asp.net/t/1424559.aspx/1
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
Song-Tian - ...
All-Star
43699 Points
4304 Posts
Microsoft
Re: Modal Popup, IE7, Menus and Z-Index
Jan 07, 2013 01:36 AM|LINK
Hi,
Generally, this should work normal. So I am not sure why you got this scenario. I suggest you debug with IE Developer Tools. Any more question, please feel free to reply.
Feedback to us
Develop and promote your apps in Windows Store
obrien.james
Member
11 Points
55 Posts
Re: Modal Popup, IE7, Menus and Z-Index
Jan 07, 2013 01:40 PM|LINK
When I debug, I don't seem to get any errors. Is there something that I should be looking out for?
thanks
James
Song-Tian - ...
All-Star
43699 Points
4304 Posts
Microsoft
Re: Modal Popup, IE7, Menus and Z-Index
Jan 08, 2013 01:58 AM|LINK
Hi,
My mean you should debug why the menu still 'active' when you hover over it. Normally, this shouldn't happen. So anything, please let me know.
Feedback to us
Develop and promote your apps in Windows Store