Microsoft JScript 运行时错误: Sys.WebForms.PageRequestManagerParserErrorException: 无法分析从服务器收到的消息。之所以出现此错误,常见的原因是: 在通过调用 Response.Write() 修改响应时,将启用响应筛选器、HttpModule 或服务器跟踪。
详细信息: 分析附近的“<script>alert('操作成功!”时出错。这是后台代码:
switch (e.CommandName)
{
case "Delete":
if (dtbl.DeleteKind(sKindId, "NULL"))
{
Response.Write("<script>alert('操作成功!');window.parent.frames['I2'].location=window.parent.frames['I2'].location;</script>");
DataBind();
}
详细信息: 分析附近的“<script>alert('操作成功!”时出错。这是后台代码:
switch (e.CommandName)
{
case "Delete":
if (dtbl.DeleteKind(sKindId, "NULL"))
{
Response.Write("<script>alert('操作成功!');window.parent.frames['I2'].location=window.parent.frames['I2'].location;</script>");
DataBind();
}
这样报错吗?我觉得你的Response.Write不会执行。
无UpdatePanel Page.RegisterClientScriptBlock
griveview 我记得不支持这种方式
删除上面这句话试一试