Page throws JavaScript runtime error: 'Function name' is undefined. IE10 only

后端 未结 1 427
甜味超标
甜味超标 2021-01-14 07:50

While working on IE10, I have found that the JavaScript functions which are registered or called from the code behind are throwing exception:

\"JavaSc

1条回答
  •  走了就别回头了
    2021-01-14 08:34

    Try placing the script at the end of the page using RegisterClientScriptBlock and call it.

       Page.ClientScript.RegisterClientScriptBlock("showGCAlert", 
         "");
    

    0 讨论(0)
提交回复
热议问题