QueryDataList Class |
Namespace: CMS.Controls
public class QueryDataList : BasicDataList, ICMSQueryProperties, ICMSBaseProperties
The QueryDataList type exposes the following members.
Name | Description | |
---|---|---|
QueryDataList |
Constructor.
|
Name | Description | |
---|---|---|
BoundPagerToDataSource |
Bound pager to the external external DataSource
(Inherited from BasicDataList.) | |
ClearCache |
Clears the cached items.
| |
CreateControlHierarchy |
Creates a control hierarchy with or without the specified data source.
(Inherited from BasicDataList.) | |
CreateChildControls |
Disable default create child controls.
(Overrides BaseDataListCreateChildControls.) | |
DataBind |
Databind event.
(Overrides BaseDataListDataBind.) | |
GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
| |
HasData |
Indicates if data source contains data.
(Inherited from BasicDataList.) | |
InitControl |
Ensures default data binding
(Overrides BasicDataListInitControl(Boolean).) | |
LoadDynamicControls |
Handles the Item Create event and creates dynamic control s if present.
(Inherited from BasicDataList.) | |
OnInit |
Init event handler.
(Inherited from BasicDataList.) | |
OnLoad |
OnLoad event handler
(Inherited from BasicDataList.) | |
PrepareControlHierarchy |
Disable prepare control hierarchy.
(Overrides DataListPrepareControlHierarchy.) | |
RaiseOnBeforeInit |
Raises the OnBeforeInit event.
(Inherited from BasicDataList.) | |
ReBind |
Evokes control databind.
(Inherited from BasicDataList.) | |
ReleaseContext |
Releases the web part context.
| |
ReloadData |
Loads data from the according to the current values of properties.
(Overrides BasicDataListReloadData(Boolean).) | |
Render |
Render event handler.
(Overrides BasicDataListRender(HtmlTextWriter).) | |
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.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
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 CoreExtensions.) | |
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.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
mControlsLoaded |
Flag saying whether the dynamic controls has been loaded yet.
(Inherited from BasicDataList.) | |
mDataLoaded |
Flag saying whether the data has been loaded yet.
(Inherited from BasicDataList.) | |
mDataPager |
Data pager.
| |
mDataSource |
Query data source.
| |
mExternalPager |
External pager control?
| |
mFilterControl |
Filter control.
| |
mFilterName |
Filter name.
| |
mOnBeforeInitFired |
True if the on before init was fired.
(Inherited from BasicDataList.) | |
mPageSizeSet |
Indicates if page size property is set.
| |
mRelatedData |
Custom data connected to the object.
(Inherited from BasicDataList.) | |
mRelatedDataLoaded |
Related data is loaded.
(Inherited from BasicDataList.) | |
NoData |
When DataSource is empty NoData = true
| |
useDataSourceControl |
Indicates whether the viewer should obtain data source from the referenced control provided by the value of DataSourceControl property.
(Inherited from BasicDataList.) |
Name | Description | |
---|---|---|
AlternatingTransformationName |
Transformation name in format application.class.transformation applied to alternating items.
| |
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.
| |
Columns |
Gets or sets the columns to be retrieved from database.
| |
ControlContext |
Control context.
| |
DataBindByDefault |
Indicates whether data binding should be performed by default.
(Inherited from BasicDataList.) | |
DataSource |
Object from which data-bound control retrieves its list of data item.
(Inherited from BasicDataList.) | |
DataSourceControl |
Control with data source.
(Inherited from BasicDataList.) | |
DataSourceName |
Data source name.
(Inherited from BasicDataList.) | |
DefaultDataSource |
Default data source to use if no external is provided
(Overrides BasicDataListDefaultDataSource.) | |
EnablePaging | Enables paging and show the DataPager control. | |
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. The default value is False.
(Inherited from BasicDataList.) | |
IsSelected |
Gets or sets the value that indicates whether current datasource contains selected item.
| |
LoadPagesIndividually |
If true, each page is loaded individually in case of paging.
| |
OrderBy |
Property to set and get the OrderBy.
| |
PageableControl |
Gets or sets the encapsulated control that implements IUniPageable interface.
(Inherited from BasicDataList.) | |
PagerControl |
Represents pager control.
| |
PagerDataItem |
Pager data item object.
(Inherited from BasicDataList.) | |
PagerForceNumberOfResults |
Gets or sets the number of result. Enables proceed "fake" datasets, where number
of results in the dataset is not correspondent to the real number of results
This property must be equal -1 if should be disabled
(Inherited from BasicDataList.) | |
PageSize |
Number of items per page.
| |
ParentControl |
Parent control.
| |
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 BasicDataList.) | |
ResolveDynamicControls |
Gets or sets the value that indicates whether dynamic controls should be resolved
(Inherited from BasicDataList.) | |
SelectedColumns |
Columns to select.
| |
SelectedDatabaseColumnName |
Gets or sets columns name by which the item is selected.
| |
SelectedItemTransformationName |
Gets or sets ItemTemplate for selected item.
| |
SelectedQueryStringKeyName |
Gets or sets query string key name. Presence of the key in query string indicates,
that some item should be selected. The item is determined by query string value.
| |
SelectedValidationType |
Gets or sets validation type for query string value which determines selected item.
Options are int, guid and string.
| |
SelectTopN |
Top N rows to select.
| |
ShortID |
Short ID of the control.
(Inherited from UIDataList.) | |
ShowDeleteButton |
Show Delete button.
| |
ShowEditButton |
Show Edit and Delete buttons.
| |
ShowEditDeleteButtons |
Show Edit and Delete buttons.
| |
SiteName |
Gets or sets the site name, this property has no effect in this control.
| |
StopProcessing |
Stop processing.
| |
TopN |
Select top N rows.
| |
TransformationName |
Transformation name in format application.class.transformation.
| |
UniPagerControl |
Pager control.
(Inherited from BasicDataList.) | |
WhereCondition |
Property to set and get the WhereCondition.
| |
ZeroRowsText |
Text to be shown when the control is hidden by HideControlForZeroRows.
(Inherited from BasicDataList.) |
Name | Description | |
---|---|---|
OnBeforeInit |
On before init handler.
(Inherited from BasicDataList.) | |
OnPageBinding |
Occurs when the control bind data.
(Inherited from BasicDataList.) | |
OnPageChanged |
Occurs when the pager change the page and current mode is postback => reload data
(Inherited from BasicDataList.) |