or
public class MyReportBook : ReportBook{ public MyReportBook() { this.Reports.Add(new CoverPage()); this.Reports.Add(new DetailPage()); this.Reports.Add(new SummaryPage()); this.Reports.Add(new MonthlyBreakoutPage()); }}Dim reportProcessor As New Telerik.Reporting.Processing.ReportProcessor() Dim result As Telerik.Reporting.Processing.RenderingResult = reportProcessor.RenderReport("XLS", myReport, Nothing) Dim fileName As String = result.DocumentName + ".xls" Response.Clear() Response.ContentType = "Application/XLS" Response.Cache.SetCacheability(HttpCacheability.Private) Response.Expires = -1 Response.Buffer = False Response.AddHeader("Content-Disposition", String.Format("{0};FileName=""{1}""", "attachment", fileName)) Response.OutputStream.Write(result.DocumentBytes, 0, result.DocumentBytes.Length) Response.End()