ASPxGridBeforeExportEventArgs.ExportTarget Property
Gets the export format.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
ExportTarget | One of the enumeration values. |
Available values:
Name | Description |
---|---|
Xls | The document is exported in the XLS format. |
Xlsx | The document is exported in the XLSX format. |
Html | The document is exported in the HTML format. |
Mht | The document is exported in the MHT format. |
The document is exported in the PDF format. |
|
Text | The document is exported in the text format. |
Rtf | The document is exported in the RTF format. |
Csv | The document is exported in the CSV format. |
Image | The document is exported in an image format. |
Docx | The document is exported in the DOCX format. |
Remarks
Use the ExportTarget property to get the document’s export format.
<dx:ASPxGridView ID="ASPxGridView1" runat="server" OnBeforeExport="ASPxGridView1_BeforeExport">
</dx:ASPxGridView>
Concept
See Also