QueryRepeater Class |
Namespace: CMS.Controls
public class QueryRepeater : BasicRepeater, ICMSQueryProperties, ICMSBaseProperties
The QueryRepeater type exposes the following members.
Name | Description | |
---|---|---|
QueryRepeater |
Constructor.
|
Name | Description | |
---|---|---|
BoundPagerToDataSource |
Bound pager to the external external DataSource
(Inherited from BasicRepeater.) | |
ClearCache |
Clears the cached items.
| |
CreateControlHierarchy |
Creates a control hierarchy with or without the specified datasource.
(Inherited from BasicRepeater.) | |
DataBind |
Databind event.
(Overrides BasicRepeaterDataBind.) | |
GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
| |
HasData |
Indicates if datasource contains data.
(Inherited from BasicRepeater.) | |
InitControl |
Ensures default data binding
(Overrides BasicRepeaterInitControl(Boolean).) | |
OnInit |
Init event handler.
(Inherited from BasicRepeater.) | |
OnLoad |
OnLoad event handler
(Inherited from BasicRepeater.) | |
OnPreRender |
OnPreRender override.
(Inherited from BasicRepeater.) | |
RaiseOnBeforeInit |
Raises the OnBeforeInit event.
(Inherited from BasicRepeater.) | |
ReBind |
Evokes control databind.
(Inherited from BasicRepeater.) | |
ReleaseContext |
Releases the web part context.
| |
ReloadData |
Loads data according to the current values of properties.
(Overrides BasicRepeaterReloadData(Boolean).) | |
Render |
Render event handler.
(Overrides BasicRepeaterRender(HtmlTextWriter).) | |
SetContext |
Sets the web part context.
|
Name | Description | |
---|---|---|
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.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
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 BasicRepeater.) | |
mDataLoaded |
Flag saying whether the data has been loaded yet.
(Inherited from BasicRepeater.) | |
mDataPager |
Data pager.
| |
mDataSource |
Query data source.
| |
mExternalPager |
External pager control?
| |
mFilterControl |
Filter control.
| |
mFilterName |
Filter name.
| |
mItemSeparator |
ItemSeparator variable.
| |
mOnBeforeInitFired |
True if the on before init was fired.
(Inherited from BasicRepeater.) | |
mPageSizeSet |
Indicates if pagesize property is set.
| |
mRelatedData |
Custom data connected to the object.
(Inherited from BasicRepeater.) | |
mRelatedDataLoaded |
Related data is loaded.
(Inherited from BasicRepeater.) | |
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 BasicRepeater.) |
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 BasicRepeater.) | |
DataSource |
Object from which data-bound control retrieves its list of data item.
(Inherited from BasicRepeater.) | |
DataSourceControl |
Control with data source.
(Overrides BasicRepeaterDataSourceControl.) | |
DataSourceName |
Gets or sets name of source.
(Inherited from BasicRepeater.) | |
DefaultDataSource |
Default data source to use if no external is provided.
(Inherited from BasicRepeater.) | |
EnablePaging |
Enables paging a shows 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. Default value is False.
(Inherited from BasicRepeater.) | |
IsSelected |
Gets or sets the value that indicates whether current datasource contains selected item.
| |
ItemSeparator |
Item separator between displayed records.
| |
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 BasicRepeater.) | |
PagerControl |
DataPager control that ensured paging.
| |
PagerDataItem |
Pager data item object.
(Inherited from BasicRepeater.) | |
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 BasicRepeater.) | |
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 BasicRepeater.) | |
ResolveDynamicControls |
Gets or sets the value that indicates whether dynamic controls should be resolved
(Inherited from BasicRepeater.) | |
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 UIRepeater.) | |
ShowDeleteButton |
Show Delete button.
| |
ShowEditButton |
Show Edit and Delete buttons.
| |
ShowEditDeleteButtons |
Show Edit and Delete buttons.
| |
SiteName |
Gets or sets the sitename, 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 BasicRepeater.) | |
WhereCondition |
Property to set and get the WhereCondition.
| |
ZeroRowsText |
Text to be shown when the control is hidden by HideControlForZeroRows.
(Inherited from BasicRepeater.) |
Name | Description | |
---|---|---|
OnBeforeInit |
On before init handler.
(Inherited from BasicRepeater.) | |
OnPageBinding |
Occurs when the control bind data.
(Inherited from BasicRepeater.) | |
OnPageChanged |
Occurs when the pager change the page and current mode is postback => reload data
(Inherited from BasicRepeater.) |