Forum  Commercial Foru...  Commercial Foru...  iFrame - Browser Incompatibility Issues
Previous Previous
 
Next Next
New Post 5/11/2012 7:16 PM
Unresolved
  Soft-Designs
39 posts
No Ranking


iFrame - Browser Incompatibility Issues 
Modified By Soft-Designs  on 5/14/2012 4:52:58 PM)

Hi - In general we have noticed when we embed VWG inside iFrame, various functionality not stable across all browsers.  

For Example:  If we build a simple page with menu bar, hosted inside an iFrame, the menu bar does not show in all browsers.  The same page hosted "outside" an iFrame, i.e. standalone - works perfectly across all browsers.

How can we get all the VWG functions to work normally across all browers, while hosted inside an iFrame...

 
New Post 5/12/2012 1:14 AM
  JamesC
850 posts
www.redcastle.co.uk
1st Level Poster




Re: iFrame - Browser Incompatibility Issues 

Hi there,

this will depend upon the DOCTYPE declaration of the hosting page - particularly on IE where iFrames seem to inherit that doctype regardless of the doctype declared in the hosted iframe page.

If your problem is with IE try clciking the Compatability icon on the browser - does the menubar appear now? If so then it probably is the doctype declaration causing you problems

cheers james

 
New Post 5/12/2012 9:32 AM
  palli
14334 posts
1st Level Poster




Re: iFrame - Browser Incompatibility Issues 

 Hi Soft-Designs,

Welcome to Visual WebGui

Please let us know if James's reply didn't help... thanks James.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 5/20/2012 4:12 AM
  Soft-Designs
39 posts
No Ranking


Re: iFrame - Browser Incompatibility Issues 

   Hi - Our VWG module will be hosted inside an iFrame, hosted on Ning - so we have no control of the parent page or DOCTYPE tag on the controling page.  We have no control over the hosted page.  We also have no control over whether our clients will use IE9, or other IE Version, or whether they have compatibilty mode on/off.

In our situation, is there any way to ensure VWG works consistantly across all browsers inside an iFrame?

 

 
New Post 5/20/2012 1:06 PM
  palli
14334 posts
1st Level Poster




Re: iFrame - Browser Incompatibility Issues 

 Hi Soft-Designs,

The goal is to get your Visual WebGui application to exist inside an IFrame with a known and correct DOCTYPE that works for Visual WebGui applications. Currently the DOCTYPE should be <! DOCTYPE html PUBLIC "-//W3C//DTD html 4.0 Transitional//EN">.

If you do not have control over the DOCTYPE of the IFrame your Visual WebGui application is enclosed in, then you can "wrap" the application in an Html where you specifically set the doc type. In that case you create an Html document with the above mentioned DOCTYPE at the top and in the body you place a <iframe src="/Form1.wgx" /> and adjust it as fit for your environment regarding width, height, style etc. 

Then in your hosting application, you make it host the Html page, not directly the VIsual WebGui form. This will set the doctype correctly for the IFrame referencing the Visual WebGUI form and should work. It is indeed an extra layer of IFrame, but as you can't control the first layer's DOCTYPE, you need to change it for the Visual WebGui application to work.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  iFrame - Browser Incompatibility Issues
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS