ASPxClientReportViewer.SaveToWindow(String) Method

Exports a report to a file of the specified format, and shows it in a new Web Browser window.

Namespace: DevExpress.XtraReports.Web.Scripts

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

Declaration

public void SaveToWindow(
    string format
)
Public Sub SaveToWindow(
    format As String
)

Parameters

Type Name Description
String format

A string specifying the format, to which a report should be exported.

The following export formats can be used as a format parameter passed to the SaveToWindow method:

  • "pdf"
  • "xls"
  • "xlsx"
  • "csv"
  • "rtf"
  • "mht"
  • "txt"
  • "bmp"
  • "png"
  • "jpg"
  • "gif"
  • "tiff"

See Also