CMSQueryDataSource Class |
Namespace: CMS.DocumentEngine.Web.UI
[SerializableAttribute] public class CMSQueryDataSource : CMSBaseDataSource, ICMSQueryProperties, ICMSBaseProperties
The CMSQueryDataSource type exposes the following members.
Name | Description | |
---|---|---|
CMSQueryDataSource |
Name | Description | |
---|---|---|
mDataSource |
Data source.
(Inherited from CMSBaseDataSource.) |
Name | Description | |
---|---|---|
BaseProperties |
Data properties
(Inherited from CMSAbstractBaseFilterControl.) | |
CacheDependencies |
Cache dependencies, each cache dependency on a new line.
(Inherited from CMSAbstractBaseFilterControl.) | |
CacheItemName |
Name of the cache item the control will use.
(Inherited from CMSAbstractBaseFilterControl.) | |
CacheMinutes |
Number of minutes the retrieved content is cached for. Zero indicates that the content will not be cached.
(Inherited from CMSAbstractBaseFilterControl.) | |
ComponentName |
Component name
(Inherited from AbstractUserControl.) | |
ControlContext |
Control context.
(Overrides CMSBaseDataSourceControlContext.) | |
CurrentSite |
Current site
(Inherited from AbstractUserControl.) | |
CurrentUser |
Current user
(Inherited from AbstractUserControl.) | |
DataSource |
Gets or sets source with data.
(Inherited from CMSBaseDataSource.) | |
DisableFilterCaching |
Enables or disables filter caching.
(Inherited from CMSAbstractBaseFilterControl.) | |
DocumentManager |
Document manager control
(Inherited from AbstractUserControl.) | |
FilterChanged |
Property to set and get the Filter changed.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterControl |
Data filter control.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterControlPath |
Gets or sets the path of the filter control.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilteredControl |
Filtered control.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterIsSet |
Property to get if the filter is set.
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterMode |
Allow to set filter mode (useful if same filter is used to filter different items)
(Inherited from CMSAbstractBaseFilterControl.) | |
FilterName |
Property to set and get the Filter name.
(Inherited from CMSAbstractBaseFilterControl.) | |
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)
| |
HeaderActions |
Header actions control
(Inherited from AbstractUserControl.) | |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from AbstractUserControl.) | |
IsSelected |
Gets or sets the value that indicates whether current datasource contains selected item.
(Overrides CMSBaseDataSourceIsSelected.) | |
LoadPagesIndividually |
If true, each page is loaded individually in case of paging.
(Inherited from CMSBaseDataSource.) | |
MaxRecords |
Maximum number of records to get from the database.
(Inherited from CMSBaseDataSource.) | |
MessagesPlaceHolder |
Placeholder for messages
(Inherited from AbstractUserControl.) | |
Offset |
Offset where the data retrieved from database should start.
(Inherited from CMSBaseDataSource.) | |
OrderBy |
Property to set and get the OrderBy.
(Inherited from CMSAbstractBaseFilterControl.) | |
PagerDataItem |
Pager data item object.
(Inherited from CMSBaseDataSource.) | |
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 CMSBaseDataSource.) | |
PageSize |
Number of items per page.
| |
Parameters |
Hashtable with additional parameters.
(Inherited from CMSAbstractBaseFilterControl.) | |
ParentControl |
Parent control.
| |
QueryName |
Select top N rows.
| |
QueryParameters |
Parameters for the query.
| |
RelatedData |
Related data.
(Inherited from CMSBaseDataSource.) | |
ResourcePrefix |
Prefix for the resource strings which are used for the localization by the control and its child controls.
(Inherited from AbstractUserControl.) | |
ResourcePrefixes |
List of cached resource prefixes for the parent hierarchy
(Inherited from AbstractUserControl.) | |
SelectedColumns |
Columns which should be selected.
(Inherited from CMSAbstractBaseFilterControl.) | |
SelectedDatabaseColumnName |
Gets or sets columns name by which the item is selected.
| |
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.
| |
SelectedValue |
This value is used to initialize filter control according to currently selected value.
(Inherited from CMSAbstractBaseFilterControl.) | |
SelectTopN |
Select top N rows.
| |
ShortID |
Short ID of the control.
(Inherited from AbstractUserControl.) | |
SiteID |
Property to set and get the filter SiteID.
(Inherited from CMSAbstractBaseFilterControl.) | |
SiteName |
Property to set and get the SiteName.
(Inherited from CMSAbstractBaseFilterControl.) | |
SourceFilterControl |
Gets the source filter control.
(Inherited from CMSAbstractBaseFilterControl.) | |
SourceFilterName |
Gets or sets the source filter name.
(Inherited from CMSAbstractBaseFilterControl.) | |
StopProcessing |
Stop processing.
(Inherited from CMSAbstractBaseFilterControl.) | |
ToggleAdvancedModeButton |
Gets button used to toggle filter's advanced mode.
(Inherited from CMSAbstractBaseFilterControl.) | |
TopN |
Property to set and get the Top N property.
(Inherited from CMSAbstractBaseFilterControl.) | |
TotalRecords |
Total number of records.
(Inherited from CMSBaseDataSource.) | |
UniPagerControl |
Pager control.
(Inherited from CMSBaseDataSource.) | |
UsesLocalMessagesPlaceHolder |
Indicates if control uses local messages placeholder
(Inherited from AbstractUserControl.) | |
Value |
Filter value.
(Inherited from CMSAbstractBaseFilterControl.) | |
WhereCondition |
Property to set and get the WhereCondition.
(Inherited from CMSAbstractBaseFilterControl.) |
Name | Description | |
---|---|---|
AddConfirmation |
Adds confirmation text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddError |
Adds error text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddHeaderAction |
Adds specified action to the page header actions.
(Inherited from AbstractUserControl.) | |
AddInformation |
Adds information text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddMessage |
Adds message text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddWarning |
Adds warning text to existing message on the page.
(Inherited from AbstractUserControl.) | |
ClearCache |
Clears the cached items.
(Inherited from CMSBaseDataSource.) | |
EnsureControls |
Interface for control that is able to explicitly ensure its child controls
(Inherited from AbstractUserControl.) | |
Eval(String) |
Evaluates the given value
(Inherited from AbstractUserControl.) | |
Eval(String, Boolean) |
Evaluates the item data (safe version), with html encoding.
(Inherited from AbstractUserControl.) | |
EvalBool |
Evaluates the item data and converts it to the bool.
(Inherited from AbstractUserControl.) | |
EvalDateTime |
Evaluates the item data and converts it to the date time.
(Inherited from AbstractUserControl.) | |
EvalDecimal |
Evaluates the item data and converts it to the decimal.
(Inherited from AbstractUserControl.) | |
EvalDouble |
Evaluates the item data and converts it to the double.
(Inherited from AbstractUserControl.) | |
EvalGuid |
Evaluates the item data and converts it to the guid.
(Inherited from AbstractUserControl.) | |
EvalHTML |
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
(Inherited from AbstractUserControl.) | |
EvalHtmlAttribute |
Evaluates the item data, encodes it to be used in HTML attribute.
(Inherited from AbstractUserControl.) | |
EvalInteger |
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.) | |
EvalJSString |
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
(Inherited from AbstractUserControl.) | |
EvalText(String) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
EvalText(String, Boolean) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
GetCacheDependency |
Gets the cache dependency for the control.
(Inherited from CMSAbstractBaseFilterControl.) | |
GetDataSource |
Gets data source according to caching properties.
(Inherited from CMSBaseDataSource.) | |
GetDataSource(Int32, Int32) |
Gets data source according to caching properties.
(Overrides CMSBaseDataSourceGetDataSource(Int32, Int32).) | |
GetDataSourceFromDB |
Gets data source from DB.
(Inherited from CMSBaseDataSource.) | |
GetDataSourceFromDB(Int32, Int32, Int32) |
Gets data source from DB.
(Inherited from CMSBaseDataSource.) | |
GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
(Overrides CMSAbstractBaseFilterControlGetDefaultCacheDependencies.) | |
GetDefaultCacheKey |
Gets the default cache key.
(Inherited from CMSBaseDataSource.) | |
GetFlagIconUrl |
Returns resolved path to the flag image for the specified culture.
(Inherited from AbstractUserControl.) | |
GetImagePath |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetImageUrl |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetRelatedData |
Gets related data.
(Inherited from CMSBaseDataSource.) | |
GetString |
Returns the localized string of the control's hierarchically highest parent that has the ResourcePrefix property and its translation defined.
(Inherited from AbstractUserControl.) | |
InitDataProperties(ICMSBaseProperties) |
Initialize data properties from property object.
(Inherited from CMSAbstractBaseFilterControl.) | |
InitDataProperties(ICMSQueryProperties) |
Initializes properties.
| |
InvalidateLoadedData |
Invalidate loaded data.
(Inherited from CMSBaseDataSource.) | |
LoadData |
Loads data from the database according to the current values of properties.
(Inherited from CMSBaseDataSource.) | |
LoadUserControl |
Loads the user control based on the given path
(Inherited from AbstractUserControl.) | |
LogAndShowError |
Logs the exception and
(Inherited from AbstractUserControl.) | |
OnInit |
Init event handler.
(Inherited from CMSAbstractBaseFilterControl.) | |
OnLoad |
Load event handler.
(Inherited from CMSAbstractBaseFilterControl.) | |
OnPreRender |
PreRender event handler.
(Inherited from AbstractUserControl.) | |
PropagateProperties |
Propagates given settings
(Inherited from CMSAbstractBaseFilterControl.) | |
RaiseOnFilterChanged |
Run OnDataFilterChanged handler.
(Inherited from CMSAbstractBaseFilterControl.) | |
RaiseOnPageBinding |
Raises the page binding event.
(Inherited from CMSBaseDataSource.) | |
ReBind |
Evokes control databind.
(Inherited from CMSBaseDataSource.) | |
RegisterOnFilterChangedHandler |
Register OnFilterChanged handler
(Inherited from CMSAbstractBaseFilterControl.) | |
ReleaseContext |
Releases the web part context.
| |
Render |
Render event handler.
(Inherited from AbstractUserControl.) | |
ResetFilter |
Resets filter to default state.
(Inherited from CMSAbstractBaseFilterControl.) | |
ResetPager |
Resets pager data if pager is bound
(Inherited from CMSBaseDataSource.) | |
ResolveUrl |
Resolves the given URL
(Inherited from AbstractUserControl.) | |
RestoreFilterState |
Restores filter state from the specified object.
(Inherited from CMSAbstractBaseFilterControl.) | |
SetContext |
Sets the web part context.
| |
ShowChangesSaved |
Shows the general changes saved message.
(Inherited from AbstractUserControl.) | |
ShowConfirmation |
Shows the general confirmation message.
(Inherited from AbstractUserControl.) | |
ShowError |
Shows the specified error message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowInformation |
Shows the given information on the page, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowWarning |
Shows the specified warning message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
SourceFilterControl_OnFilterChanged |
Handles the OnFilterChanged event of the SourceFilter control.
(Inherited from CMSAbstractBaseFilterControl.) | |
StoreFilterState |
Stores filter state to the specified object.
(Inherited from CMSAbstractBaseFilterControl.) | |
ToggleAdvancedModeButton_Click |
Toggle advanced mode button click event
(Inherited from CMSAbstractBaseFilterControl.) |
Name | Description | |
---|---|---|
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.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
OnFilterChanged |
Filter change handler.
(Inherited from CMSAbstractBaseFilterControl.) | |
OnPageBinding |
Occurs when the control bind data.
(Inherited from CMSBaseDataSource.) | |
OnPageChanged |
Occurs when the pager change the page and current mode is postback => reload data
(Inherited from CMSBaseDataSource.) |