ReportViewer.WriteHtmlTo(HttpResponse, XtraReport) Method

Creates an HTML file that contains a Web representation of the report, and writes the output to the specified HTTP response.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v18.2.Web.WebForms.dll

Declaration

public static void WriteHtmlTo(
    HttpResponse response,
    XtraReport report
)
Public Shared Sub WriteHtmlTo(
    response As HttpResponse,
    report As XtraReport
)

Parameters

Type Name Description
HttpResponse response

A HttpResponse object specifying the HTTP response to which the file should be written.

XtraReport report

An XtraReport object to be represented as an HTML file.

The stream generated by this method contains the HTML representation of the report, and will be written to the specified HttpResponse object.

See Also