c# - internet explorer cannot open the internet site -


I have a strange error, but it seems to be happening in IE6 only, and it happens randomly. Implementing ubiquitous analytics on my company's site. I controlled a literal server and called it from within an update panel. All controls build javascript and uses ScriptManager.RegisterStartupScript (Control, Type, String, String, Boolean) to add JavaScript to the page. All this works very well except for random bugs (see attached pictures).

What I've read looks like a bug in IE6 that makes Java Script inaccurate if it's made in a child element inside the body tag, which means that my script is in a form tag. Ends inside. I am just wondering if there is any other way that I can use to register this control which will not cause this error.

// I show the image correctly, so I will link to it as well.

Sorry if it ends completely with off-base, but I remember That is going on in a while. I fixed it by adding 'defer' to my script tag, that is:

  & lt; Script defer = "true" & gt; ... & lt; / Script & gt;  

This stops the script until the rest of the page has been loaded, which avoids an IE DOM bug that is very similar to what you get. I have not used ASP, however, I do not know that you will add the suspended properties through the script manager.


Comments