Usuario anónimo  |  Ingresar  |  Regístrate
Mensaje dentro Bugs and Improvements

in IE8 point Giving wrong coordinates

#1 - 29/05/2009 0:04:10 Reporta abuso | Link permanente
Fecha de registro: 22/05/2009
2 posts en todos los foros
in IE8 point Giving wrong coordinates

Responder Citar
I tried on this site server side events (
when clicking to create marker, in IE8 the marker appears in wrong position (some offset accures), on my site this happens with aspnetpostback allso. But when i turn on compatibility mode on it works fine. I triede some plain htm page, and created a map with pure google map API, and all works fine,mozilla firefox works fine. So if anybody knows what might be the problem is there something to add?

Volver arriba

De en 15
#2 - 03/06/2009 13:32:58 Reporta abuso | Link permanente
Fecha de registro: 03/09/2008
2 posts en todos los foros
RE: in IE8 point Giving wrong coordinates

Responder Citar
It's a problem with IE8, if you force the client to use compatibility mode it will work fine.

If you add this to the header under the <head> tag it should work fine:

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

Using code in a client page that has a master page you can use this in the page load event:

Dim MetaHead As New System.Web.UI.HtmlControls.HtmlMeta

MetaHead.Attributes.Add("http-equiv", "X-UA-Compatible")
MetaHead.Attributes.Add("content", "IE=EmulateIE7")

Me.Page.Header.Controls.AddAt(0, MetaHead)
Volver arriba
De en 15

Powered by Subgurim.NET