0

All of the code behind registered javascripts are throwing exception in page loads.

Registering JS function like this:

Page.RegisterStartupScript("showGCAlert", "<script language=\"javascript\">ShowGCAlert();</script>");

This only give exception IE10 even IE 10 compatibility view works fine. Also tried

Page.ClientScript.RegisterClientScriptBlock("showGCAlert", 
     "<script type=\"text/javascript\">ShowGCAlert();</script>");

Please mention whats wrong with the IE 10.

PS: it was an old .net 1.1 project, we converted into .net 4.0 and everything worked fine fine in ie9 and even ie10 compatibility view but not in IE10.

Maybe2013
  • 581
  • 1
  • 12
  • 21

0 Answers0