QueryDataGrid Class |
Namespace: CMS.Controls
public class QueryDataGrid : BasicDataGrid, ICMSQueryProperties, ICMSBaseProperties
The QueryDataGrid type exposes the following members.
Name | Description | |
---|---|---|
![]() | QueryDataGrid |
Constructor.
|
Name | Description | |
---|---|---|
![]() | mFilterControl |
Filter control.
|
![]() | mFilterName |
Filter name.
|
![]() | mOnBeforeInitFired |
True if the on before init was fired.
(Inherited from BasicDataGrid.) |
![]() | mRelatedData |
Custom data connected to the object.
(Inherited from BasicDataGrid.) |
![]() | mRelatedDataLoaded |
Related data is loaded.
(Inherited from BasicDataGrid.) |
Name | Description | |
---|---|---|
![]() | CacheDependencies |
Cache dependencies, each cache dependency on a new line.
|
![]() | CacheItemName |
Name of the cache item the control will use.
|
![]() | CacheMinutes |
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
|
![]() | ControlContext |
Control context.
|
![]() | Current |
Current page number.
|
![]() | DataBindByDefault |
Indicates whether data binding should be performed by default.
(Inherited from BasicDataGrid.) |
![]() | DataSource |
Gets or sets the object from which data-bound control retrieves its list of data item.
(Inherited from UIDataGrid.) |
![]() | FilterControl |
Filter control.
|
![]() | FilterName |
Gets or Set filter name.
|
![]() | ForceCacheMinutes |
Gets or sets the value that indicates whether cache minutes must be set manually (Cache minutes value is independent on view mode and cache settings)
|
![]() | HideControlForZeroRows |
Hides the control when no data is loaded. Default value is False.
(Inherited from BasicDataGrid.) |
![]() | OrderBy |
Property to set and get the OrderBy.
|
![]() | PageSize |
Number of items per page.
(Overrides DataGridPageSize.) |
![]() | ProcessSorting |
Indicates if sorting should be processed in DataView instead of sorting on the SQL level.
(Inherited from BasicDataGrid.) |
![]() | QueryName |
Query name in format application.class.query.
|
![]() | QueryParameters |
Query parameters.
|
![]() | RelatedData |
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
(Inherited from BasicDataGrid.) |
![]() | SelectedColumns |
Columns to select.
|
![]() | SelectTopN |
Top N rows to select.
|
![]() | SetFirstPageAfterSortChange |
Indicates if page index is set to the first page after sort change.
(Inherited from BasicDataGrid.) |
![]() | ShortID |
Short ID of the control.
(Inherited from UIDataGrid.) |
![]() | SiteName |
Gets or sets the sitename, this property has no effect in this control.
|
![]() | SortAscending |
Direction of sorting. Default value is True.
(Inherited from BasicDataGrid.) |
![]() | SortField |
Gets or sets the sort field. It can be used for setting the default sort field.
(Inherited from BasicDataGrid.) |
![]() | StopProcessing |
Stop processing
|
![]() | TopN |
Select top N rows.
|
![]() | WhereCondition |
Property to set and get the WhereCondition.
|
![]() | ZeroRowsText |
Text to be shown when control is hidden by HideControlForZeroRows.
(Inherited from BasicDataGrid.) |
Name | Description | |
---|---|---|
![]() | ClearCache |
Clears the cached items.
|
![]() | Control_PreRender |
Control prerender code.
(Inherited from BasicDataGrid.) |
![]() | DataBind |
Binds data to the grid and displays the sorting symbols.
(Inherited from BasicDataGrid.) |
![]() | GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
|
![]() | GetPagerMode |
Returns the pager position based on the given string.
(Inherited from BasicDataGrid.) |
![]() | OnInit |
Init event handler.
(Overrides BasicDataGridOnInit(EventArgs).) |
![]() | OnLoad |
OnLoad.
(Overrides BasicDataGridOnLoad(EventArgs).) |
![]() | OnPageIndexChanged |
OnPageIndexChanged event handler. It ensures displaying of the given page.
(Overrides BasicDataGridOnPageIndexChanged(DataGridPageChangedEventArgs).) |
![]() | OnPreRender |
PreRender event handler.
(Overrides UIDataGridOnPreRender(EventArgs).) |
![]() | OnSortCommand |
OnSortCommand event handler. It sorts data by selected column.
(Overrides BasicDataGridOnSortCommand(DataGridSortCommandEventArgs).) |
![]() | RaiseOnBeforeInit |
Raises the OnBeforeInit event.
(Inherited from BasicDataGrid.) |
![]() | ReleaseContext |
Releases the web part context.
|
![]() | ReloadData |
Reloads the control data.
|
![]() | Render |
Render event handler, to maintain the proper control rendering.
(Inherited from BasicDataGrid.) |
![]() | SetContext |
Sets the web part context.
|
Name | Description | |
---|---|---|
![]() | AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) |
![]() | CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) |
![]() | GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) |
![]() | GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |
![]() | HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) |
![]() | RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) |
![]() | SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
![]() | OnBeforeInit |
On before init handler.
(Inherited from BasicDataGrid.) |