Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 16th Mar 2011, 15:07
visumagic visumagic is offline
Registered Developer
 
Join Date: Jan 2009
Posts: 39
Default SmartGwt IE9 issue

Hi

I'm using SmartGWT 2.4. I just tested my application in IE9. No mouse click got detected and Sub menus are not getting opened. Buttons are not listening to mouse. Same application is working in IE8, Chrome, Firefox. Please let me know how to fix this.

-raghu
Reply With Quote
  #2  
Old 16th Mar 2011, 16:57
Isomorphic Isomorphic is online now
Administrator
 
Join Date: May 2006
Posts: 38,339
Default

Set the HTML meta tags that cause IE9 to behave like an older version (Google for samples and options) and remove any DOCTYPE settings. Do this in your production deployment too, or your end users will see breakage when a new IE is released with new bugs.
Reply With Quote
  #3  
Old 16th Mar 2011, 20:01
visumagic visumagic is offline
Registered Developer
 
Join Date: Jan 2009
Posts: 39
Default

Hi thanks for your reply ..

I added <!DOCTYPE html> at line 1. It's not working and I added following line to in headers , but still no use. Need to spend some more time.


<meta http-equiv="X-UA-Compatible" content="IE=8" >

If any one faced same problem , please reply me back.


thanks ..
-raghu
Reply With Quote
  #4  
Old 17th Mar 2011, 10:49
Isomorphic Isomorphic is online now
Administrator
 
Join Date: May 2006
Posts: 38,339
Default

Again, remove the DOCTYPE (entirely).
Reply With Quote
  #5  
Old 11th Apr 2011, 02:08
phoebe phoebe is offline
Registered Developer
 
Join Date: Feb 2009
Posts: 5
Default

Removing the doctype, and adding this:
<meta http-equiv="X-UA-Compatible" content="IE=8" >

Works like a charm in IE9 for me.

Just to let other users know that this works.
Reply With Quote
  #6  
Old 18th May 2011, 23:23
visumagic visumagic is offline
Registered Developer
 
Join Date: Jan 2009
Posts: 39
Default

Thanks Phoebe,


It's working fine ...
Reply With Quote
  #7  
Old 8th Jun 2011, 21:54
kefik kefik is offline
Registered Developer
 
Join Date: May 2011
Posts: 1
Default

Working like a charm...
just be suer to wipe out IE9 cache before you access your app again.

Thanks!
Kefik
Reply With Quote
  #8  
Old 4th Jul 2011, 23:29
zunair zunair is offline
Registered Developer
 
Join Date: Apr 2011
Posts: 2
Default

Hi Guys!!

I am new to Smart GWT. I need some guidance related to put the HTML tags in Smart GWT. I am facing the same issue in IE9 but i am unable to find any HTML file in which i have to put the suggested meta tag..

Thanks!!
Reply With Quote
  #9  
Old 29th Aug 2011, 05:40
romain.vdk romain.vdk is offline
Registered Developer
 
Join Date: Jun 2010
Posts: 167
Default

As seen here : http://googlewebtoolkit.blogspot.com/2011/03/update-on-gwt-support-for-ie9.html
we only hat to add the metadata tag. Our doctype is still present and doesn't seems to have any impact on IE9.
Our doctype is the following: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

As web developer, I cannot imagine a web page without doctype...
Reply With Quote
  #10  
Old 29th Aug 2011, 10:20
Isomorphic Isomorphic is online now
Administrator
 
Join Date: May 2006
Posts: 38,339
Default

It is no longer necessary to remove the DOCTYPE entirely or use the meta tags as of 2.5, however, setting an XHTML docType is still incorrect.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible IE 7 & 8 smartgwt 2.0 + Gwt 2.0 devmode issue Farkas Smart GWT Technical Q&A 3 27th Jan 2012 13:36
SmartGWT 2.4 in IE9 icicall Smart GWT Technical Q&A 2 10th Feb 2011 23:44
Issue with TextItem in a Dynamic form SmartGWT 2.4 edgear Smart GWT Technical Q&A 3 4th Jan 2011 04:27
SmartGWT and GWT 2.1 RC1 Issue mazzi Smart GWT Technical Q&A 8 19th Oct 2010 04:50

© 2010,2011 Isomorphic Software. All Rights Reserved