Class ExportExtensions
Export extensions.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public static class ExportExtensions
Methods
ToCsv(GridViewDataControl)
Returns all grid data items as comma separated values including header.
Declaration
public static string ToCsv(this GridViewDataControl source)
Parameters
GridViewDataControl
source
|
Returns
System.String
|
ToCsv(GridViewDataControl, Boolean)
Returns all grid data items as comma separated values.
Declaration
public static string ToCsv(this GridViewDataControl source, bool includeHeader)
Parameters
GridViewDataControl
source
|
System.Boolean
includeHeader
|
Returns
System.String
|
ToCsv(GridViewDataControl, Boolean, Boolean)
Returns all grid data items as comma separated values.
Declaration
public static string ToCsv(this GridViewDataControl source, bool includeHeader, bool includeFooter)
Parameters
GridViewDataControl
source
|
System.Boolean
includeHeader
|
System.Boolean
includeFooter
|
Returns
System.String
|
ToCsv(GridViewDataControl, IEnumerable, Boolean)
Returns specified grid data items as comma separated values.
Declaration
public static string ToCsv(this GridViewDataControl source, IEnumerable items, bool includeHeader)
Parameters
GridViewDataControl
source
|
System.Collections.IEnumerable
items
|
System.Boolean
includeHeader
|
Returns
System.String
|
ToCsv(GridViewDataControl, IEnumerable, Boolean, Boolean)
Returns specified grid data items as comma separated values.
Declaration
public static string ToCsv(this GridViewDataControl source, IEnumerable items, bool includeHeader, bool includeFooter)
Parameters
GridViewDataControl
source
|
System.Collections.IEnumerable
items
|
System.Boolean
includeHeader
|
System.Boolean
includeFooter
|
Returns
System.String
|
ToExcelML(GridViewDataControl)
Returns all grid data items as html including header.
Declaration
public static string ToExcelML(this GridViewDataControl source)
Parameters
GridViewDataControl
source
|
Returns
System.String
|
ToExcelML(GridViewDataControl, Boolean)
Returns all grid data items as html.
Declaration
public static string ToExcelML(this GridViewDataControl source, bool includeHeader)
Parameters
GridViewDataControl
source
|
System.Boolean
includeHeader
|
Returns
System.String
|
ToExcelML(GridViewDataControl, Boolean, Boolean)
Returns all grid data items as html.
Declaration
public static string ToExcelML(this GridViewDataControl source, bool includeHeader, bool includeFooter)
Parameters
GridViewDataControl
source
|
System.Boolean
includeHeader
|
System.Boolean
includeFooter
|
Returns
System.String
|
ToExcelML(GridViewDataControl, IEnumerable, Boolean)
Returns specified grid data items as html.
Declaration
public static string ToExcelML(this GridViewDataControl source, IEnumerable items, bool includeHeader)
Parameters
GridViewDataControl
source
|
System.Collections.IEnumerable
items
|
System.Boolean
includeHeader
|
Returns
System.String
|
ToExcelML(GridViewDataControl, IEnumerable, Boolean, Boolean)
Returns specified grid data items as html.
Declaration
public static string ToExcelML(this GridViewDataControl source, IEnumerable items, bool includeHeader, bool includeFooter)
Parameters
GridViewDataControl
source
|
System.Collections.IEnumerable
items
|
System.Boolean
includeHeader
|
System.Boolean
includeFooter
|
Returns
System.String
|
ToHtml(GridViewDataControl)
Returns all grid data items as html including header.
Declaration
public static string ToHtml(this GridViewDataControl source)
Parameters
GridViewDataControl
source
|
Returns
System.String
|
ToHtml(GridViewDataControl, Boolean)
Returns all grid data items as html.
Declaration
public static string ToHtml(this GridViewDataControl source, bool includeHeader)
Parameters
GridViewDataControl
source
|
System.Boolean
includeHeader
|
Returns
System.String
|
ToHtml(GridViewDataControl, Boolean, Boolean)
Returns all grid data items as html.
Declaration
public static string ToHtml(this GridViewDataControl source, bool includeHeader, bool includeFooter)
Parameters
GridViewDataControl
source
|
System.Boolean
includeHeader
|
System.Boolean
includeFooter
|
Returns
System.String
|
ToHtml(GridViewDataControl, IEnumerable, Boolean)
Returns specified grid data items as html.
Declaration
public static string ToHtml(this GridViewDataControl source, IEnumerable items, bool includeHeader)
Parameters
GridViewDataControl
source
|
System.Collections.IEnumerable
items
|
System.Boolean
includeHeader
|
Returns
System.String
|
ToHtml(GridViewDataControl, IEnumerable, Boolean, Boolean)
Returns specified grid data items as html.
Declaration
public static string ToHtml(this GridViewDataControl source, IEnumerable items, bool includeHeader, bool includeFooter)
Parameters
GridViewDataControl
source
|
System.Collections.IEnumerable
items
|
System.Boolean
includeHeader
|
System.Boolean
includeFooter
|
Returns
System.String
|
ToText(GridViewDataControl)
Returns all grid data items as html including header.
Declaration
public static string ToText(this GridViewDataControl source)
Parameters
GridViewDataControl
source
|
Returns
System.String
|
ToText(GridViewDataControl, Boolean)
Returns all grid data items as tab-delimited text.
Declaration
public static string ToText(this GridViewDataControl source, bool includeHeader)
Parameters
GridViewDataControl
source
|
System.Boolean
includeHeader
|
Returns
System.String
|
ToText(GridViewDataControl, Boolean, Boolean)
Returns all grid data items as tab-delimited text.
Declaration
public static string ToText(this GridViewDataControl source, bool includeHeader, bool includeFooter)
Parameters
GridViewDataControl
source
|
System.Boolean
includeHeader
|
System.Boolean
includeFooter
|
Returns
System.String
|
ToText(GridViewDataControl, IEnumerable, Boolean)
Returns specified grid data items as tab-delimited text.
Declaration
public static string ToText(this GridViewDataControl source, IEnumerable items, bool includeHeader)
Parameters
GridViewDataControl
source
|
System.Collections.IEnumerable
items
|
System.Boolean
includeHeader
|
Returns
System.String
|
ToText(GridViewDataControl, IEnumerable, Boolean, Boolean)
Returns specified grid data items as tab-delimited text.
Declaration
public static string ToText(this GridViewDataControl source, IEnumerable items, bool includeHeader, bool includeFooter)
Parameters
GridViewDataControl
source
|
System.Collections.IEnumerable
items
|
System.Boolean
includeHeader
|
System.Boolean
includeFooter
|
Returns
System.String
|