Skip to main content

GridViewExtension Members

A Grid View extension.

Constructors

Name Description
GridViewExtension(GridViewSettings, ViewContext) Initializes a new instance of the GridViewExtension class with the specified settings and provides the context information about the view.
GridViewExtension(GridViewSettings) Initializes a new instance of the GridViewExtension class with the specified settings.

Methods

Name Description
Bind(Object) Binds the Grid View to a data source.
BindToCustomData(GridViewModel) Binds the GridView to a custom data model when you use the grid in the custom data binding mode.
BindToEF(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>, EventHandler<ServerModeExceptionThrownEventArgs>) Binds the GridView to a data source via the Entity Framework in database server mode.
BindToEF(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) Binds the GridView to a data source via the Entity Framework in database server mode.
BindToEF(String, String) Binds the GridView to a data source via the Entity Framework in database server mode.
BindToEF(Type, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) Binds the GridView to a data source via the Entity Framework in database server mode.
BindToEF(Type, String) Binds the GridView to a data source via the Entity Framework in database server mode.
BindToLINQ(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>, EventHandler<ServerModeExceptionThrownEventArgs>) Binds the GridView to a queryable source in database server mode.
BindToLINQ(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) Binds the GridView to a queryable source in database server mode.
BindToLINQ(String, String) Binds the GridView to a queryable source in database server mode.
BindToLINQ(Type, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>) Binds the GridView to a queryable source in database server mode.
BindToLINQ(Type, String) Binds the GridView to a queryable source in database server mode.
BindToXML(String, String, String) Binds the GridView to the XML file specified by its name, XPath expression and transformation file name.
BindToXML(String, String) Binds the GridView to the XML file specified by its name and an XPath expression.
BindToXML(String) Binds the GridView to the XML file specified by its name.
CreatePrintableObject(GridViewSettings, Object) static Enables a GridView to be printed using the XtraPrinting Library.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExportToCsv(GridViewSettings, Object, CsvExportOptions) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, CsvExportOptionsEx) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, Boolean, CsvExportOptions) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, Boolean, CsvExportOptionsEx) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, Boolean) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, String, CsvExportOptions) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, String, CsvExportOptionsEx) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, String, Boolean, CsvExportOptions) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, String, Boolean, CsvExportOptionsEx) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, String, Boolean) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object, String) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToCsv(GridViewSettings, Object) static Exports the grid’s data to CSV format, based on the provided settings.
ExportToDocx(GridViewSettings, Object, DocxExportOptions) static Exports the grid’s data to DOCX format, based on the provided settings.
ExportToDocx(GridViewSettings, Object, Boolean, DocxExportOptions) static Exports the grid’s data to DOCX format, based on the provided settings.
ExportToDocx(GridViewSettings, Object, Boolean) static Exports the grid’s data to DOCX format, based on the provided settings.
ExportToDocx(GridViewSettings, Object, String, DocxExportOptions) static Exports the grid’s data to DOCX format, based on the provided settings.
ExportToDocx(GridViewSettings, Object, String, Boolean, DocxExportOptions) static Exports the grid’s data to DOCX format, based on the provided settings.
ExportToDocx(GridViewSettings, Object, String, Boolean) static Exports the grid’s data to DOCX format, based on the provided settings.
ExportToDocx(GridViewSettings, Object, String) static Exports the grid’s data to DOCX format, based on the provided settings.
ExportToDocx(GridViewSettings, Object) static Exports the grid’s data to DOCX format, based on the provided settings.
ExportToPdf(GridViewSettings, Object, PdfExportOptions) static Exports the grid’s data to PDF format, based on the provided settings.
ExportToPdf(GridViewSettings, Object, Boolean, PdfExportOptions) static Exports the grid’s data to PDF format, based on the provided settings.
ExportToPdf(GridViewSettings, Object, Boolean) static Exports the grid’s data to PDF format, based on the provided settings.
ExportToPdf(GridViewSettings, Object, String, PdfExportOptions) static Exports the grid’s data to PDF format, based on the provided settings.
ExportToPdf(GridViewSettings, Object, String, Boolean, PdfExportOptions) static Exports the grid’s data to PDF format, based on the provided settings.
ExportToPdf(GridViewSettings, Object, String, Boolean) static Exports the grid’s data to PDF format, based on the provided settings.
ExportToPdf(GridViewSettings, Object, String) static Exports the grid’s data to PDF format, based on the provided settings.
ExportToPdf(GridViewSettings, Object) static Exports the grid’s data to PDF format, based on the provided settings.
ExportToRtf(GridViewSettings, Object, RtfExportOptions) static Exports the grid’s data to RTF format, based on the provided settings.
ExportToRtf(GridViewSettings, Object, Boolean, RtfExportOptions) static Exports the grid’s data to RTF format, based on the provided settings.
ExportToRtf(GridViewSettings, Object, Boolean) static Exports the grid’s data to RTF format, based on the provided settings.
ExportToRtf(GridViewSettings, Object, String, RtfExportOptions) static Exports the grid’s data to RTF format, based on the provided settings.
ExportToRtf(GridViewSettings, Object, String, Boolean, RtfExportOptions) static Exports the grid’s data to RTF format, based on the provided settings.
ExportToRtf(GridViewSettings, Object, String, Boolean) static Exports the grid’s data to RTF format, based on the provided settings.
ExportToRtf(GridViewSettings, Object, String) static Exports the grid’s data to RTF format, based on the provided settings.
ExportToRtf(GridViewSettings, Object) static Exports the grid’s data to RTF format, based on the provided settings.
ExportToXls(GridViewSettings, Object, XlsExportOptions) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, XlsExportOptionsEx) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, Boolean, XlsExportOptions) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, Boolean, XlsExportOptionsEx) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, Boolean) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, String, XlsExportOptions) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, String, XlsExportOptionsEx) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, String, Boolean, XlsExportOptions) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, String, Boolean, XlsExportOptionsEx) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, String, Boolean) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object, String) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXls(GridViewSettings, Object) static Exports the grid’s data to XLS format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, XlsxExportOptions) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, XlsxExportOptionsEx) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, Boolean, XlsxExportOptions) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, Boolean, XlsxExportOptionsEx) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, Boolean) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, String, XlsxExportOptions) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, String, XlsxExportOptionsEx) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, String, Boolean, XlsxExportOptions) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, String, Boolean, XlsxExportOptionsEx) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, String, Boolean) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object, String) static Exports the grid’s data to XLSX format, based on the provided settings.
ExportToXlsx(GridViewSettings, Object) static Exports the grid’s data to XLSX format, based on the provided settings.
GetBatchDeleteKeys<T>() static Returns a list of keys that correspond to grid records deleted on the client side in batch edit mode.
GetBatchInsertValues<T>(String) static Returns a list of values added to the specified column on the client side in batch edit mode.
GetBatchUpdateValues<S, T>(String) static Returns a dictionary containing record keys and new values updated in the specified column on the client side in batch edit mode.
GetBinaryImageEditCallbackResult() static Returns the specified result back to the client side after processing a callback initiated by a binary image editor used as a grid view column editor. Inherited from GridExtensionBase.
GetBinaryImageEditCallbackResult(BinaryStorageMode, BinaryImageUploadValidationSettings) static Returns the specified result back to the client side after processing a callback initiated by a binary image editor used as a grid view column editor. Inherited from GridExtensionBase.
GetBinaryImageEditCallbackResult(BinaryStorageMode) static Returns the specified result back to the client side after processing a callback initiated by a binary image editor used as a grid view column editor. Inherited from GridExtensionBase.
GetComboBoxCallbackResult(MVCxColumnComboBoxProperties) static Returns the specified result back to the client side after processing a callback initiated by a combo box used as a grid view column editor. Inherited from GridExtensionBase.
GetComboBoxCallbackResult(Action<MVCxColumnComboBoxProperties>) static Returns the specified result back to the client side after processing a callback initiated by a combo box used as a grid view column editor. Inherited from GridExtensionBase.
GetCustomDataCallbackResult(Object) static Returns the specified result back to the client side after processing a callback within an Action defined GridSettingsBase.CustomDataActionRouteValues property.
GetEditValue<T>(String) static Gets editor values from the edit form by a field name.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetHtml() Inserts the HTML code rendered by an extension into the required page output. Inherited from ExtensionBase.
GetTokenBoxCallbackResult(MVCxColumnTokenBoxProperties) static Returns the specified result back to the client side after processing a callback initiated by a token box used as a grid view column editor. Inherited from GridExtensionBase.
GetTokenBoxCallbackResult(Action<MVCxColumnTokenBoxProperties>) static Returns the specified result back to the client side after processing a callback initiated by a token box used as a grid view column editor. Inherited from GridExtensionBase.
GetType() Gets the Type of the current instance. Inherited from Object.
GetViewModel(String) static Returns the GridView’s view model object that maintains the grid state and provides the means to populate itself with data when the grid is used in custom data binding mode.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Renders the extension’s HTML code to the Response. Inherited from ExtensionBase.
SetEditErrorText(String) Displays the specified (error) text in a special row at the bottom of the grid’s Edit Form.
ToString() Returns a string that represents the current object. Inherited from Object.
WriteCsv(GridViewSettings, Object, Stream, CsvExportOptions) static Exports the grid’s data to a stream in CSV format.
WriteCsv(GridViewSettings, Object, Stream, CsvExportOptionsEx) static Exports the grid’s data to a stream in CSV format with the specified export options.
WriteCsv(GridViewSettings, Object, Stream) static Exports the grid’s data to a stream in CSV format.
WriteCsvToResponse(GridViewSettings, Object, CsvExportOptions) static Obsolete. Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.
WriteCsvToResponse(GridViewSettings, Object, Boolean, CsvExportOptions) static Obsolete. Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.
WriteCsvToResponse(GridViewSettings, Object, Boolean) static Obsolete. Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.
WriteCsvToResponse(GridViewSettings, Object, String, CsvExportOptions) static Obsolete. Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.
WriteCsvToResponse(GridViewSettings, Object, String, Boolean, CsvExportOptions) static Obsolete. Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.
WriteCsvToResponse(GridViewSettings, Object, String, Boolean) static Obsolete. Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.
WriteCsvToResponse(GridViewSettings, Object, String) static Obsolete. Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.
WriteCsvToResponse(GridViewSettings, Object) static Obsolete. Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.
WriteDocx(GridViewSettings, Object, Stream, DocxExportOptions) static Exports the grid’s data to a stream in CSV format with the specified export options.
WriteDocx(GridViewSettings, Object, Stream) static Exports the grid’s data to a stream in DOCX format.
WritePdf(GridViewSettings, Object, Stream, PdfExportOptions) static Exports the grid’s data to a stream in PDF format with the specified export options.
WritePdf(GridViewSettings, Object, Stream) static Exports the grid’s data to a stream in PDF format.
WritePdfToResponse(GridViewSettings, Object, PdfExportOptions) static Obsolete. Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(GridViewSettings, Object, Boolean, PdfExportOptions) static Obsolete. Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(GridViewSettings, Object, Boolean) static Obsolete. Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(GridViewSettings, Object, String, PdfExportOptions) static Obsolete. Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(GridViewSettings, Object, String, Boolean, PdfExportOptions) static Obsolete. Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(GridViewSettings, Object, String, Boolean) static Obsolete. Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(GridViewSettings, Object, String) static Obsolete. Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WritePdfToResponse(GridViewSettings, Object) static Obsolete. Exports the grid’s data to a file in PDF format and writes it to the Response in binary format.
WriteRtf(GridViewSettings, Object, Stream, RtfExportOptions) static Exports the grid’s data to a stream in RTF format with the specified export options.
WriteRtf(GridViewSettings, Object, Stream) static Exports the grid’s data to a stream in RTF format.
WriteRtfToResponse(GridViewSettings, Object, RtfExportOptions) static Obsolete. Exports data to a file in RTF format and writes it to the Response in binary format.
WriteRtfToResponse(GridViewSettings, Object, Boolean, RtfExportOptions) static Obsolete. Exports data to a file in RTF format and writes it to the Response in binary format.
WriteRtfToResponse(GridViewSettings, Object, Boolean) static Obsolete. Exports data to a file in RTF format and writes it to the Response in binary format.
WriteRtfToResponse(GridViewSettings, Object, String, RtfExportOptions) static Obsolete. Exports data to a file in RTF format and writes it to the Response in binary format.
WriteRtfToResponse(GridViewSettings, Object, String, Boolean, RtfExportOptions) static Obsolete. Exports data to a file in RTF format and writes it to the Response in binary format.
WriteRtfToResponse(GridViewSettings, Object, String, Boolean) static Obsolete. Exports data to a file in RTF format and writes it to the Response in binary format.
WriteRtfToResponse(GridViewSettings, Object, String) static Obsolete. Exports data to a file in RTF format and writes it to the Response in binary format.
WriteRtfToResponse(GridViewSettings, Object) static Obsolete. Exports data to a file in RTF format and writes it to the Response in binary format.
WriteXls(GridViewSettings, Object, Stream, XlsExportOptions) static Exports the grid’s data to a stream in XLS format with the specified export options.
WriteXls(GridViewSettings, Object, Stream, XlsExportOptionsEx) static Exports the grid’s data to a stream in XLS format with the specified export options.
WriteXls(GridViewSettings, Object, Stream) static Exports the grid’s data to a stream in XLS format.
WriteXlsToResponse(GridViewSettings, Object, XlsExportOptions) static Obsolete. Exports data to a file in XLS format and writes it to the Response in binary format.
WriteXlsToResponse(GridViewSettings, Object, Boolean, XlsExportOptions) static Obsolete. Exports data to a file in XLS format and writes it to the Response in binary format.
WriteXlsToResponse(GridViewSettings, Object, Boolean) static Obsolete. Exports data to a file in XLS format and writes it to the Response in binary format.
WriteXlsToResponse(GridViewSettings, Object, String, XlsExportOptions) static Obsolete. Exports data to a file in XLS format and writes it to the Response in binary format.
WriteXlsToResponse(GridViewSettings, Object, String, Boolean, XlsExportOptions) static Obsolete. Exports data to a file in XLS format and writes it to the Response in binary format.
WriteXlsToResponse(GridViewSettings, Object, String, Boolean) static Obsolete. Exports data to a file in XLS format and writes it to the Response in binary format.
WriteXlsToResponse(GridViewSettings, Object, String) static Obsolete. Exports data to a file in XLS format and writes it to the Response in binary format.
WriteXlsToResponse(GridViewSettings, Object) static Obsolete. Exports data to a file in XLS format and writes it to the Response in binary format.
WriteXlsx(GridViewSettings, Object, Stream, XlsxExportOptions) static Exports data to a stream in XLSX format with the specified export settings.
WriteXlsx(GridViewSettings, Object, Stream, XlsxExportOptionsEx) static Exports the grid’s data to a stream in XLSX format with the specified export options.
WriteXlsx(GridViewSettings, Object, Stream) static Exports the grid’s data to a stream in XLSX format.
WriteXlsxToResponse(GridViewSettings, Object, XlsxExportOptions) static Obsolete. Exports data to a file in XLSX format, and writes it to the Response in binary format.
WriteXlsxToResponse(GridViewSettings, Object, Boolean, XlsxExportOptions) static Obsolete. Exports data to a file in XLSX format, and writes it to the Response in binary format.
WriteXlsxToResponse(GridViewSettings, Object, Boolean) static Obsolete. Exports data to a file in XLSX format, and writes it to the Response in binary format.
WriteXlsxToResponse(GridViewSettings, Object, String, XlsxExportOptions) static Obsolete. Exports data to a file in XLSX format, and writes it to the Response in binary format.
WriteXlsxToResponse(GridViewSettings, Object, String, Boolean, XlsxExportOptions) static Obsolete. Exports data to a file in XLSX format, and writes it to the Response in binary format.
WriteXlsxToResponse(GridViewSettings, Object, String, Boolean) static Obsolete. Exports data to a file in XLSX format, and writes it to the Response in binary format.
WriteXlsxToResponse(GridViewSettings, Object, String) static Obsolete. Exports data to a file in XLSX format, and writes it to the Response in binary format.
WriteXlsxToResponse(GridViewSettings, Object) static Obsolete. Exports data to a file in XLSX format, and writes it to the Response in binary format.
See Also