停灯向晓  

今天将GridView导出excel的时候出现如下错误:

 

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 is enabled.

 

解决方法:

将导出时间的button放在GridView所在的UpdatePanel的trigers里

posted on 2010-09-17 09:31  kofkyo  阅读(210)  评论(0编辑  收藏  举报