UniGridExportHelper MembersKentico 8.0 API Reference
The UniGridExportHelper type exposes the following members.
Constructors

  NameDescription
Public methodUniGridExportHelper
Default constructor.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodExportData(DataExportFormatEnum, Stream)
Exports data stored in DataSource property, writes it to given stream.
(Inherited from DataExportHelper.)
Public methodExportData(DataExportFormatEnum, HttpResponse)
Exports data stored in DataSource property, writes it to given response.
(Inherited from DataExportHelper.)
Public methodExportToCSV(DataSet, Int32, Stream)
Exports specified table of given DataSet to CSV format.
(Inherited from DataExportHelper.)
Public methodExportToCSV(DataSet, Int32, Stream, Boolean)
Exports specified table of given DataSet to CSV format.
(Inherited from DataExportHelper.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Protected methodGetColumnCaptionText
Gets a caption for given column name.
(Overrides DataExportHelper GetColumnCaptionText(Int32, String).)
Protected methodGetColumnIndex
Gets index of a column corresponding to columns actually selected to export.
(Overrides DataExportHelper GetColumnIndex(String, String).)
Protected methodGetColumnNameByIndex
Gets column name by given index from table specified by name.
Protected methodGetExportedColumns
Gets columns that should be exported.
(Overrides DataExportHelper GetExportedColumns(String).)
Protected methodGetExportedData
Gets the DataSet with the formatted exported data
(Overrides DataExportHelper GetExportedData(DataSet, Boolean).)
Protected methodGetExportedValue
Gets the exported value for the given
(Overrides DataExportHelper GetExportedValue(DataRow, String, DataRow).)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodGetXMLElementName
Normalizes header text to be usable as element name.
(Inherited from DataExportHelper.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodRaiseError
Raises error event.
(Inherited from DataExportHelper.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Protected methodUniGridExportHelper_ExternalDataBound
Performs external data binding on the data
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Fields

  NameDescription
Protected fieldmAvailableColumns
Holds columns available for export.
Protected fieldmDataExportTemplatePath
Holds path leading to Excel export template.
(Inherited from DataExportHelper.)
Protected fieldmDataSource
Source of data.
(Inherited from DataExportHelper.)
Protected fieldmExportedColumns
Holds actually exported columns.
(Inherited from DataExportHelper.)
Protected fieldmFileName
File of name to export (without extension).
(Inherited from DataExportHelper.)
Protected fieldmFileNameWithExtension
File of name to export with extension.
(Inherited from DataExportHelper.)
Protected fieldmMacroResolver
Holds macro resolver.
(Inherited from DataExportHelper.)
Protected fieldmUseSharedStringStorage
Indicates whether to use shared string table during Excel export.
(Inherited from DataExportHelper.)
Back to Top
Properties

  NameDescription
Public propertyAllColumns
Allows to explicitly specify all columns that can be retrieved from UniGrid Comma-separated value e.g. "ItemID, ItemName"
Public propertyAllowExportEmptyDataSource
Determines whether to allow export empty data source or raise an error
(Inherited from DataExportHelper.)
Public propertyAvailableColumns
Gets a list of columns that are available for export.
Public propertyBoundFields
Gets all bound fields from UniGrid.
Public propertyColumns
Allows to explicitly set exported columns.
Public propertyCSVDelimiter
Defines delimiter for CSV format.
(Inherited from DataExportHelper.)
Public propertyCurrentPageOnly
Determines whether to export just current page.
Public propertyDataExportTemplateFolder
Gets a startup path for template lookup.
(Inherited from DataExportHelper.)
Public propertyDataExportTemplatePath
Gets or sets a relative path leading to template. Priorities of lookup (get) are: 1. DataExportTemplatePath/SiteName/ObjectType/Template.xlsx 2. DataExportTemplatePath/ObjectType/Template.xlsx 3. DataExportTemplatePath/SiteName/Template.xlsx 4. DataExportTemplatePath/Template.xlsx
(Overrides DataExportHelper DataExportTemplatePath.)
Public propertyDataSource
Retrieves data from UniGrid control (applying data properties).
(Overrides DataExportHelper DataSource.)
Public propertyExportRawData
Defines whether to export raw table data.
Public propertyFileName
Name of exported file (without extension).
(Overrides DataExportHelper FileName.)
Public propertyFileNameWithExtension
Name of exported file with extension.
(Inherited from DataExportHelper.)
Public propertyGenerateHeader
Indicates whether to generate also a header row.
(Inherited from DataExportHelper.)
Public propertyMacroResolver
Gets or sets macro resolver.
(Overrides DataExportHelper MacroResolver.)
Protected propertyObjectType
Gets original object type from type info of info object used by UniGrid.
Public propertyOrderBy
Order by clause.
Public propertyRecords
Number of exported records (in case CurrentPageOnly is false).
Protected propertySafeObjectType
Safe version of object type
Public propertySiteName
Site name used for export template lookup.
Public propertyTopN
Top N rows to export.
(Inherited from DataExportHelper.)
Public propertyUniGrid
Holds an instance of UniGrid control.
Public propertyUseGridFilter
Whether to use current UniGrid's where condition.
Public propertyUseSharedStringStorage
Defines whether to use shared string table for storing text values. When value is false text is being stored as inline string. Applies only to Excel export.
(Inherited from DataExportHelper.)
Public propertyUseTemplate
Indicates whether to use XLSX template.
(Inherited from DataExportHelper.)
Public propertyWhereCondition
Additional where condition.
Back to Top
Events

  NameDescription
Public eventError
Error handler.
(Inherited from DataExportHelper.)
Protected eventExternalDataBound
External data bound handler.
(Inherited from DataExportHelper.)
Back to Top
See Also