用微软AJAX后response,js代码的时候,导致"Error parsing near" 错误.
2009-12-10 04:54
573 查看
sys.webForms.PageRequestManagerParserErrorException:The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(),response filters, HttpModules, or server trace trace is enabled.Details:Error parsing near ....
使用微软的Ajax框架后不要用response.write()弹出提示框,用下面这个:
ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.GetType(), "updateScript", "alert('保存成功');", true);
使用微软的Ajax框架后不要用response.write()弹出提示框,用下面这个:
ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.GetType(), "updateScript", "alert('保存成功');", true);
相关文章推荐
- StarUML 启动时候出现"System Error. Code:1722. RPC服务器不可用."错误的解决办法
- 链接sqlserver的时候出现 "Error establishing socket" 错误的处理办法.
- ASP.NET 页面错误: "asp.net XML Parsing Error: no element found Line Number 1, Column 1"
- js在方法Ajax请求数据来推断,验证无效(OnClientClick="return Method();"),或者直接运行的代码隐藏
- 解决"学习python-flask教程,下载源码运行的时候出现:TypeError: 'bool' object is not callable 错误代码:"
- VC缺省链接库的顺序不对导致链接错误error LNK2005: "void __cdecl operator delete(void *)"
- 使用Axis插件来从WSDL文件生成代码时"An error occurred while completing process -java.lang.reflect.InvocationTargetException"的错误
- StarUML启动时候出现"System Error. Code:1722. RPC服务器不可用."错误的解决办法
- iOS之AFN错误代码1016(Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable)
- StarUML启动时候出现"System Error. Code:1722. RPC服务器不可用."错误的解
- VC++6.0错误:fatal error:cannot open include file "xxxx.h"修正的一个方法
- 微软承认错误 0×80240020错误代码导致win7/8自动升级win10
- VS2008(VC6)出现如下链接错误的解决方法uafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsign
- js:有关TypeError: invalid 'in' operand obj的错误
- 控制台执行JAVA代码发生的错误(Exception in thread "main" java.lang.NoClassDefFoundError)
- "error while loading shared libraries: xxx.so.x" 错误的原因和解决办法
- "Lc.exe已退出,代码为-1" 错误处理办法
- 当使用JQuery的"$",抛异常Uncaught TypeError: Object #<Object> has no method 'ajax'
- error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- AFNetWorking Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: una