GridExportSettings
Class holding settings associated with the RadGrid export settings.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridExportSettings : ObjectWithState
Inheritance: objectObjectWithStateGridExportSettings
Inherited Members
Constructors
Properties
Gets the CSV settings.
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridCsvSettings Csv { get; }
The CSV settings.
Gets the Excel settings.
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridExcelSettings Excel { get; }
The Excel settings.
Determines whether only data will be exported.
public bool ExportOnlyData { get; set; }
A string specifying the name (without the extension) of the file that will be created. The file extension is automatically added based on the method that is used.
public string FileName { get; set; }
Determines whether the Action columns (Select, Edit, Delete, Button) will be exported.
public bool HideNonDataBoundColumns { get; set; }
Determines whether the structure columns (the row indicator and the expand/collapse columns) will be exported.
public bool HideStructureColumns { get; set; }
Specifies whether all records will be exported or merely those on the current page.
public bool IgnorePaging { get; set; }
Opens the exported grid in a new instead of the same page.
public bool OpenInNewWindow { get; set; }
Gets the PDF settings.
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridPdfSettings Pdf { get; }
The PDF settings.
Determines whether the DataFormatStrings of the columns will be suppressed when exporting. Setting this property to true will cause a rebind when exporting.
public bool SuppressColumnDataFormatStrings { get; set; }
Determines whether the RadGrid styles will be applied to the exported files
public bool UseItemStyles { get; set; }
Gets the Word settings.
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridWordSettings Word { get; }
The Word settings.