TableViewExporter
Class
GridTableView exporter. For internal use only.
Definition
Namespace:Telerik.Web.UI.Grid.Export
Assembly:Telerik.Web.UI.dll
Syntax:
C#
[SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable")]
public class TableViewExporter
Inheritance: objectTableViewExporter
Inherited Members
Constructors
TableViewExporter constructor
C#
public TableViewExporter(GridTableView tableView, GridExportSettings setting)
GridTableView object
settingGridExportSettingsRadGrid export settings
TableViewExporter constructor
C#
public TableViewExporter(GridTableView tableView, string fileName, bool dataOnly, bool ignorePaging)
GridTableView object
fileNamestringFile name
dataOnlyboolExport only data?
ignorePagingboolIgnore paging?
Methods
Exports the control to Excel
C#
public void ExportToExcel()
Exports the control to PDF
C#
public void ExportToPdf()
Exports the control to Word
C#
public void ExportToWord()
Generates the text representing the Export Output for Microsoft Excel XSLX format
Returns a temporary directory