New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Class holding settings associated with the RadGrid export settings.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridExportSettings : ObjectWithState

Inheritance: objectObjectWithStateGridExportSettings

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridExportSettings(StateBag OwnerStateBag)
Parameters:OwnerStateBagStateBag

Properties

Gets the CSV settings.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridCsvSettings Csv { get; }
Property Value:

The CSV settings.

Gets the Excel settings.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridExcelSettings Excel { get; }
Property Value:

The Excel settings.

Determines whether only data will be exported.

C#
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.

C#
public string FileName { get; set; }

Determines whether the Action columns (Select, Edit, Delete, Button) will be exported.

C#
public bool HideNonDataBoundColumns { get; set; }

Determines whether the structure columns (the row indicator and the expand/collapse columns) will be exported.

C#
public bool HideStructureColumns { get; set; }

Specifies whether all records will be exported or merely those on the current page.

C#
public bool IgnorePaging { get; set; }

Opens the exported grid in a new instead of the same page.

C#
public bool OpenInNewWindow { get; set; }

Gets the PDF settings.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridPdfSettings Pdf { get; }
Property Value:

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.

C#
public bool SuppressColumnDataFormatStrings { get; set; }

Determines whether the RadGrid styles will be applied to the exported files

C#
public bool UseItemStyles { get; set; }

Gets the Word settings.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridWordSettings Word { get; }
Property Value:

The Word settings.