首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

在网上也没找到解决方法

2012-01-18 
在网上也没找到解决办法!使用了updatepanle后gridview就不能导出为excel报表了.错误提示:Sys.WebForms.Pag

在网上也没找到解决办法!
使用了updatepanle后gridview就不能导出为excel报表了.
错误提示:
Sys.WebForms.PageRequestManagerParserErrorException:The   message   received   from   the   server   could   not   be   parsed.   Common   causes   for   this   this   error   are   when   the   response   is   modified   by   calls   to   Response.Write(),
Details:Error   parsing   near   'runat=server   J| '




[解决办法]
帮你顶!不知
[解决办法]
用了updatepanle,就不能用Response.Write()了
它会扰乱Scriptmanage的脚本输入
[解决办法]
放弃updatepanle了,用这个太多问题了 - -!
[解决办法]
Response.Write()
改为用ScriptManager.RegisterClientScriptBlock这个方法

热点排行