Solved

Ajax ModalPopupExtender not displaying controls in Safari browser.

Posted on 2009-05-13
5
1,286 Views
Last Modified: 2013-12-07
Hello Everyone,
Can you help me on this?
In Safari my panel which I am displaying in ModalPopupExtender goes behind the modal popup ;

this works properly in other browsers.
Can you suggest me what can be cause for this?


Thanks.
0
Comment
Question by:winjittechnologies
  • 3
5 Comments
 
LVL 10

Expert Comment

by:MaxOvrdrv2
Comment Utility
0
 
LVL 1

Author Comment

by:winjittechnologies
Comment Utility
Thanks MaxOvrdrv2,

but this link is not so useful for my case as my issue seems to be related with z-index as I can see my
 controls but those controls are going behind the modal popup.
can you help me how can I get this fixed?

Thanks for your help.
0
 
LVL 10

Expert Comment

by:MaxOvrdrv2
Comment Utility
i can't seem to find anything about it... the only problems i see are that they simply don't render, or all the controls become un-usuable...

have you tried setting it's CSS to position:abosulte ?
0
 
LVL 10

Accepted Solution

by:
MaxOvrdrv2 earned 250 total points
Comment Utility
ah HA! here's something that sounds more like your problem:

If you have a bunch of AutoComplete extenders that are wrapped inside of ModalPopup and you try to run it in Safari, chances are, you will not like what you see. The autocomplete div will be shown under the modalpopup. Works fine in Firefox and IE, but Safari is screwed up. What gives?

Well, if you look into source code of AutoComplete extender, you will notice that they have a special handling for Safari (also known as a one-button mouse of the browsers  Just kidding!). Because of this special handling, the correct z-index is not being set on the autocomplete div.

But how can I fix it? Well, all you need to do is to add a div somewhere near the extender with id of AutoCompleteDiv and in your extender set the property of CompletionListElementID to AutoCompleteDiv.

Here is how I found this info:

http://logbook.trioro.com/2006/12/ajaxnet-autocompleteextender.html
http://tim.mackey.ie/ProblemsWithTheAJAXAutoCompleteExtenderArrgh.aspx

Also, there is a custom autocomplete extender based on prototype and script.ac.ulous. I have not tried but it looks really interesting. I would like to take a look the source when I have a bit more time. Here is the link.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now