Discussion:
Enable autocomplete in Modal Dialogs?
(too old to reply)
Stu Carter
2005-09-28 11:02:58 UTC
Permalink
Hi,

ENV: Windows 2003 Server SP1, IE 6.0.3790.1830
I'm posting this to the IE5 forum because there are no managed groups for
IE6...

Autocomplete works fine for us on our web pages hosted withing the standard
IE frame. However, autocomplete is not available in modal dialogs (we are
displaying the same page in both).

Why is this and can it be enabled?

Thanks,
Stuart
Wei-Dong XU [MSFT]
2005-09-29 06:07:23 UTC
Permalink
Hi Stuart,

So far as I know, the autocomplete feature will be unavailable when we use
the window.showModalDialog or window.showModalessDialog to create the modal
window. This should be one decision made for security because the window
created by the two methods are often treated as unwelcome and most IE
toolbars will disable this kind of window.

Currently I'd suggest please use the CSS and Javascript to stimulate one
dialog in the web page, not showing one new window (modal/modaless). Then
we could host one text input box in the dialog with the autocomplete
feature. Another way, we could also use the Windows.open method to create
one new instance of IE window if your scenario permits.

Please feel free to let me know if you have any further question on this
matter.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
It is my pleasure to be of assistance.
Stu Carter
2005-09-29 12:14:49 UTC
Permalink
OK, makes sense and ref security, that's what we thought.

Thanks,
Stuart
Post by Wei-Dong XU [MSFT]
Hi Stuart,
So far as I know, the autocomplete feature will be unavailable when we use
the window.showModalDialog or window.showModalessDialog to create the modal
window. This should be one decision made for security because the window
created by the two methods are often treated as unwelcome and most IE
toolbars will disable this kind of window.
Currently I'd suggest please use the CSS and Javascript to stimulate one
dialog in the web page, not showing one new window (modal/modaless). Then
we could host one text input box in the dialog with the autocomplete
feature. Another way, we could also use the Windows.open method to create
one new instance of IE window if your scenario permits.
Please feel free to let me know if you have any further question on this
matter.
Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
It is my pleasure to be of assistance.
Wei-Dong XU [MSFT]
2005-09-30 02:08:31 UTC
Permalink
You are very Welcome! Have a nice weekend!

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
It is my pleasure to be of assistance.

Loading...