Forum  Core :: SDK (Vi...  Bug Reports  IE9 iframe issue
Previous Previous
 
Next Next
New Post 8/8/2011 10:16 PM
  neilbrown
90 posts
No Ranking


IE9 iframe issue 
Modified By neilbrown  on 8/9/2011 1:22:03 AM)

Hi support,

I posted about a similar issue recently however I did not realise that iframes were part of the issue.

Could you please view http://abesaudio.com.au/copybrief using IE9 ... I see only the "Logon" groupbox with no contents.  This URL is standard HTML with an iframe to a VWG site http://scripttrack.net.au/MainForm.ashx.  If I view the second link directly, it appears correctly with username/password boxes, etc.  If I view the first link in Firefox or Chrome it appears correctly.

If you can see this same behaviour (the "Logon" groupbox with no contents when using IE9 and viewing a VWG page within an iframe), then to reproduce is simply a standard project with a groupbox containing controls, then view the resulting application via an embedded iframe.

The exact IE9 version I am using is "Version: 9.0.8112.16421 Update versions: 9.0.1"

Regards,
Neil.

 
New Post 8/9/2011 12:33 AM
  JamesC
634 posts
www.redcastle.co.uk
1st Level Poster




Re: IE9 iframe issue 

Hi Neil,

if you can then just remove this line from the top of your hosting pages html:

 

It should then display ok, the alternative is to force your hosting site to run in IE8 mode

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 
New Post 8/9/2011 5:54 PM
  palli
11838 posts
1st Level Poster




Re: IE9 iframe issue 

Hi Neil,

I tested your iframe embedded Url in my IE9, and I get the same results you do, I see the Logon groupbox with nothing in it.

Testing a simple form with a groupbox containing labels and textboxes and embedding it within an Iframe, it works fine for me locally on my IE9, with or without the DOCTYPE at the start of it. I used this Html page to embed the Visual WebGui page.

I would really like to be able to reproduce this so we can report it, but at the moment I am unable to.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 11/14/2011 7:40 AM
  vogong
1 posts
none
No Ranking


Re: IE9 iframe issue 
Modified By vogong  on 11/14/2011 12:15:02 PM)

Hi Niel I was wondering if this was the same issue.

I have a dynamic form that i load from a asp.net page using a redirect.
When i load this page normally using the browser all is good.
If the page is in an iframe I get a blank page.

If I dynamically load standard Visual webgui controls like a button it loads but not my user controls;
This all works fine in chrome and firefox though.

My workaround at the moment is detecting ie and launching a new browser with url instead of in iframe

One last thing are you using  "post.form.wgx" to send parameters to your form?

 

 
New Post 11/14/2011 11:30 AM
  JamesC
634 posts
www.redcastle.co.uk
1st Level Poster




Re: IE9 iframe issue 

hi there,

the problem seems to me to be with IE9 compatability modes. Have you  tried clicking the compatability view button in IE?

Switching modes should make your vwg controls visible

This is not obvious to user though - most people wouldn;t even think of clicking it to see if the contents appeared - Palli mentioned that he totally removed the DOCTYPE directive - all that does though is force IE to operate in "Quirks Mode" which  is the same as if you do set compatability mode on.

The problem as far as i can tell is that the DOCTYPE on an IFrame in IE is now ignored and it is inherited from the parent page containing the iframe

If you set the DOCTYPE on the parent page to html 4.0 then your vwg iframe contents will probably become visible

<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.0 Transitional//EN">

Cheers james

 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...  Bug Reports  IE9 iframe issue
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS