Grid Export Limitations
Common Limitations
- The ASPxGridView control does not interpret HTML tags in data cells. Handle the ExportRenderBrick (WYSIWYG export mode) and XlsExportOptionsEx.CustomizeCell/XlsxExportOptionsEx.CustomizeCell (DataAware export mode) events to customize exported documents that contain HTML tags.
- Images rendered in the GridViewDataImageColumn column are not exported. Handle the ExportRenderBrick event to implement image export.
- Template content is not exported (except for detail grid in the DetailRow template). Templated elements are exported with their default representation. For instance, templated cells are exported as labels with text.
Export in Excel Formats in WYSIWYG Mode
- The ASPxGridViewExportSettings.Landscape and ASPxGridViewExportSettings.PaperKind properties are not in effect.
- Rich text formatting is ignored in ASPxGridViewExportSettings.ReportHeader and ASPxGridViewExportSettings.ReportFooter property values.
Export in Excel Formats in DataAware Mode
- The master-detail grid export is not supported.
- the preview row‘s export is not supported.
- The ReportHeader and ReportFooter properties are not in effect.
- The PageHeader and PageFooter properties are not in effect.
- The ExportRenderBrick event does not fire. Use the XlsExportOptionsEx.CustomizeCell or XlsxExportOptionsEx.CustomizeCell event instead.
- The StylesExport property has no effect. Use either the ExportCellStyle property at the column level or the XlsExportOptionsEx.CustomizeCell / XlsxExportOptionsEx.CustomizeCell event instead.