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);

 posted on 2012-10-08 09:56  纳米程序员  阅读(646)  评论(0)    收藏  举报