Render Local Report on Button Click

I needed to render a local report to pdf on a button click. This was not the first time i’ve done it without any problems but this time, the following problem was loaded…

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 ‘%PDF-1.3%
1 0 obj’.

 

Next is the coding i normally use to render the report… Read the rest of this entry »