ASPxClientReportViewer.SaveToDisk(String) Method

Exports a report to a file of the specified format, and saves it to the disk.

Namespace: DevExpress.XtraReports.Web.Scripts

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


public void SaveToDisk(
    string format
Public Sub SaveToDisk(
    format As String


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 SaveToDisk method:

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