Click here to Skip to main content
15,907,396 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Hi All,

When I try to export gridview to excel I am getting runtime jscript error.
Error is..

Microsoft JScript runtime error: 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.
Details: Error parsing near '<table rules="all" b'.

While debugging I came to know error is occuring at HttpContext.Current.Response.End(); statement..

Please can I know what could be the reason.?

Thanks in Advance.
Posted
Updated 29-Nov-10 4:38am
v2
Comments
Member 8495891 5-Jul-13 1:53am    
try using update panel

1 solution

Hi Raj,

Have a look Here[^] & try this. i used recently & got success.

have a look here about that raised exception
Sys.WebForms.PageRequestManagerParserErrorException[^]

what is 'b' in this line '<table rules="all" b'. i think table tag not written properly. provide some information regarding this.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900