Technology Questions

Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 11-03-2009, 08:10 AM
Rcallant
Newsgroup Contributor
 
Posts: n/a
Problem with submit in window.onbeforeunload in a showModalDialog

We have a problem with IE8 on Windows7.
The problem only occurs with IE8 on Windows7, not with IE8 on Vista.

When you have a form on a page opened in a modal dialog window, when you
execute a submit of the form on window.onbeforeunload you get a script error
"Access is Denied" and the form is not submitted.

Is this a bug in IE8 on Windows7 ?

--
Renzo Callant

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/communities...plorer.general
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 11-03-2009, 08:10 AM
  #2 (permalink)  
Old 11-03-2009, 11:40 AM
rob^_^
Newsgroup Contributor
 
Posts: n/a
Re: Problem with submit in window.onbeforeunload in a showModalDialog

Hi,

Without testing your pages ourselves we cannot comment.

More than likely, your IE Security zone settings on Win7/IE8 are different
from your other IE versions test machines.

You should be targeting the 'Default' security zone settings (press the
'Default' button for each of your security zones.)

"Access Denied" errors are associated with "Local Machine Lockdown"

Regards.

"Rcallant" <Rcallant@discussions.microsoft.com> wrote in message
news:8CA8E35D-BB33-4F9C-BC72-14A2F403A4E2@microsoft.com...
> We have a problem with IE8 on Windows7.
> The problem only occurs with IE8 on Windows7, not with IE8 on Vista.
>
> When you have a form on a page opened in a modal dialog window, when you
> execute a submit of the form on window.onbeforeunload you get a script
> error
> "Access is Denied" and the form is not submitted.
>
> Is this a bug in IE8 on Windows7 ?
>
> --
> Renzo Callant
>
> ----------------
> This post is a suggestion for Microsoft, and Microsoft responds to the
> suggestions with the most votes. To vote for this suggestion, click the "I
> Agree" button in the message pane. If you do not see the button, follow
> this
> link to open the suggestion in the Microsoft Web-based Newsreader and then
> click "I Agree" in the message pane.
>
> http://www.microsoft.com/communities...plorer.general
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 11-04-2009, 02:50 AM
Rcallant
Newsgroup Contributor
 
Posts: n/a
Re: Problem with submit in window.onbeforeunload in a showModalDia

Hi Rob,

i have narrowed the problem down to the following :

In my modal dialog windows I open a page with a frameset.
The frameset contains two .htm pages, and the bottom page contains
the form that needs to be submitted onbeforeunload.
On Vista with IE8 you do not need to specify a target for the form,
on Windows7 with IE8 you need to specify a target to avoid the access is
denied error.

Problem is that the only target possible now is "_blank", because the frameset
is closing, which results in a blank page being opened (which is normal) and
this
is not want one would want, because the submit of the form needs to happen
in background.

Is the way forms are submitted in IE8 different between the older OS
versions and Windows7 ?
Why is a submit to "_self" possible in a closing modal dialog on Vista with
IE8 and not on Windows7 with IE8 ?

Best regards

--
Renzo Callant


"rob^_^" wrote:

> Hi,
>
> Without testing your pages ourselves we cannot comment.
>
> More than likely, your IE Security zone settings on Win7/IE8 are different
> from your other IE versions test machines.
>
> You should be targeting the 'Default' security zone settings (press the
> 'Default' button for each of your security zones.)
>
> "Access Denied" errors are associated with "Local Machine Lockdown"
>
> Regards.
>
> "Rcallant" <Rcallant@discussions.microsoft.com> wrote in message
> news:8CA8E35D-BB33-4F9C-BC72-14A2F403A4E2@microsoft.com...
> > We have a problem with IE8 on Windows7.
> > The problem only occurs with IE8 on Windows7, not with IE8 on Vista.
> >
> > When you have a form on a page opened in a modal dialog window, when you
> > execute a submit of the form on window.onbeforeunload you get a script
> > error
> > "Access is Denied" and the form is not submitted.
> >
> > Is this a bug in IE8 on Windows7 ?
> >
> > --
> > Renzo Callant
> >
> > ----------------
> > This post is a suggestion for Microsoft, and Microsoft responds to the
> > suggestions with the most votes. To vote for this suggestion, click the "I
> > Agree" button in the message pane. If you do not see the button, follow
> > this
> > link to open the suggestion in the Microsoft Web-based Newsreader and then
> > click "I Agree" in the message pane.
> >
> > http://www.microsoft.com/communities...plorer.general
> >

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
showmodaldialog "Permission denied" Bennie Internet Explorer 0 08-19-2009 11:10 PM
In IE7 ShowModalDialog windows don't refresh content while resizin Vincent Guilbaud Internet Explorer 3 03-28-2009 06:01 PM
Submit a solution I found for a problem report ReelGenius Windows Vista 4 06-23-2008 02:00 PM
onbeforeunload dialog, cancel button when window.location.href BUG bongobongo Internet Explorer 1 10-05-2007 03:30 AM
HTA and onbeforeunload TS Internet Explorer 0 09-19-2007 10:00 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 04:44 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0