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
private void downloadSubmittalReport(byte byteSubmittalReport, string filename)
Response.ContentType = "application/ms-excel";
Response.AddHeader("content-disposition", "attachment;filename=" + filename.Trim() + ".pdf");
Response.OutputStream.Write(byteSubmittalReport, 0, byteSubmittalReport.Length);
iam passing the byte from Rdl which are available in Reporting server .
can you please help us ASAP