private void ExportReport(Telerik.Reporting.Report Report)
{
string MimeType = string.Empty;
string Extension = string.Empty;
Encoding Encoding = null;
byte[] Buffer = ReportProcessor.Render("PDF", Report, null, out MimeType, out Extension, out Encoding);
Response.Clear();
Response.Buffer =
true;
Response.ContentType =
"application/pdf";
Response.AppendHeader(
"content-disposition", "attachment;filename=Report.pdf");
Response.BinaryWrite(Buffer);
Response.End();
}
In the IE i can directly open the pdf or save it. When i save it and then open it everything is okay. But when i click on open in the dialog my acrobat reader is executing but the message "file not found" show. What can i do. On an other client it works. I think it must be a client setting.

Me
.sqlSelectCommand1.CommandText = "SELECT * FROM [vwr_case_info] WHERE (accession_no IN (@accession_no))"
Me.sqlSelectCommand1.Connection = Me.sqlConnection1
Me.sqlSelectCommand1.Parameters.AddRange(New System.Data.SqlClient.SqlParameter() {New System.Data.SqlClient.SqlParameter("accession_no", System.Data.SqlDbType.VarChar, 150, System.Data.ParameterDirection.Input, False, CType(0, Byte), CType(0, Byte), "accession_no", System.Data.DataRowVersion.Current, "'tpc-07', 'tpc-08'")})
However, the report engine is not pulling any results for me. When I change the sql to
Me
.sqlSelectCommand1.CommandText = "SELECT * FROM [vwr_case_info] WHERE (accession_no IN ('tpc-07', 'tpc-08'))"
everything works. Am I missing something here or is there a bug in Telerk Reporting 1.1 when using sql parameters?
Dim report As EventList = New EventList()
report.DataSource = ds
ReportViewer1.Report = report
This ds is having the values which is retreiving from the stored procedure. can anyone tell what I am doing is correct or not?
Regards,
Jincy
