ASP.NET Grid AjaxPanel Download Issue

Posted by Mahesh on Stack Overflow See other posts from Stack Overflow or by Mahesh
Published on 2010-05-25T15:32:17Z Indexed on 2010/05/25 16:01 UTC
Read the original article Hit count: 601

Filed under:
|
|
|

Hi,

I have a telerik grid which is performing operations like searching,sorting,filtering etc. To make customers happy, we put this control in an ajax panel for seamless experience.

Now, we added a new functionality to the grid where the customer can download the entire row information as a csv file. As the response is a file, ajax panel is trying to parse the output and throwing the following exception:

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 '?'.

Could you please help me in having both functionalities( Ajax and Download) in place without any error??

Thanks, Mahesh

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about AJAX