JavaScript 运行时错误: Sys.WebForms.PageRequestManagerParserErrorException: 未能分析从服务器收到的消息。
2013-04-10 16:19
633 查看
此问题的解决方案:
Response.Write("<script>alert('下单成功!')</script>"); 改为 Page.ClientScript.RegisterStartupScript(this.GetType(), "MyScript","Response.Write(alert('下单成功!')")
如果你用了ajax控件,则改为 ScriptManager.RegisterStartupScript("使用ajax的控件ID", typeof(System.Web.UI.Page), "aaa", "Response.Write(alert('下单成功!')", false);
相关文章推荐
- 错误: Sys.WebForms.PageRequestManagerParserErrorException: 未能分析从服务器收到的消息。
- 错误:Sys.WebForms.PageRequestManagerParserErrorException:无法分析从服务器收到的消息
- 消息: Sys.WebForms.PageRequestManagerParserErrorException: 未能分析从服务器收到的消息。
- Sys.WebForms.PageRequestManagerParserErrorException:无法分析从服务器收到的消息
- Sys.WebForms.PageRequestManagerParserErrorException:无法分析从服务器收到的消息
- Sys.WebForms.PageRequestManagerParserErrorException:无法分析从服务器收到的消息
- Sys.WebForms.PageRequestManagerParserErrorException:无法分析从服务器收到的消息
- Sys.WebForms.PageRequestManagerParserErrorException:无法分析从服务器收到的消息
- Sys.WebForms.PageRequestManagerParserErrorException:无法分析从服务器收到的消息
- Microsoft JScript 运行时错误: Sys.WebForms.PageRequestManagerParserErrorException
- UpdatePanel 报错 Microsoft JScript 运行时错误: Sys.WebForms.PageRequestManagerParserErrorException:解决办法
- UpdatePanel 报错 Microsoft JScript 运行时错误: Sys.WebForms.PageRequestManagerParserErrorException:解决办法
- UpdatePanel 报错 Microsoft JScript 运行时错误: Sys.WebForms.PageRequestManagerParserErrorException:解决办法
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- 错误: Sys.WebForms.PageRequestManagerServerErrorException: 在服务器上处理 请求时出现未知错误。服务器返回的状态码为: 500
- Microsoft JScript 运行时错误: Sys.WebForms.PageRequestManagerTimeoutException: 服务器请求超时。
- Sys.WebForms.PageRequestManagerParserErrorException 错误
- Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法
- Sys.WebForms.PageRequestManagerServerErrorException: 在服务器上处理请求时出现未知错误。服务器返回的状态码为: 500 .
- Sys.WebForms.PageRequestManagerParserErrorException 错误