QueryUniView Class |
Namespace: CMS.Controls
public class QueryUniView : BasicUniView, ICMSQueryProperties, ICMSBaseProperties
The QueryUniView type exposes the following members.
Name | Description | |
---|---|---|
QueryUniView |
Constructor.
|
Name | Description | |
---|---|---|
BoundPagerToDataSource |
Bound pager to the external external DataSource
(Inherited from BasicUniView.) | |
ClearCache |
Clears the cached items.
| |
CreateHierarchicalItem |
Creates new UniView item and initialize object with selected template.
(Inherited from UniView.) | |
CreateChildControls |
Creates child controls.
(Inherited from UniView.) | |
CreateItem |
Creates new UniView item and initialize object with selected template.
(Inherited from UniView.) | |
DataBind |
Binds a data source to the invoked server control and all its child controls.
(Overrides BaseDataBoundControlDataBind.) | |
EnsurePager |
Creates instance of unipager and bind this pager to the current control.
| |
GenerateContent |
Default method to the content generating.
(Inherited from UniView.) | |
GenerateInnerHierarchicalContent |
Inner hierarchical content generating.
(Inherited from UniView.) | |
GenerateSeparateHierarchicalContent |
Separate hierarchical content generating.
(Inherited from UniView.) | |
GetDataItemValue |
Returns value from specified data item object.
(Inherited from UniView.) | |
GetDefaultCacheDependencies |
Gets the default cache dependencies for the data source.
| |
GetItemsCount |
Try to get items count from IEnumerable object.
(Inherited from UniView.) | |
GetItemType |
Returns item type based on current index and item count.
(Inherited from UniView.) | |
GetTemplate |
Returns default item template if selected template is empty.
(Inherited from UniView.) | |
HasData |
Indicates if data source contains data.
(Inherited from BasicUniView.) | |
InitControl |
Ensures default data binding
(Overrides BasicUniViewInitControl(Boolean).) | |
ObjectToDataRowView |
Converts object (DataSet, DataTable, DataRow) to DataRowView.
(Inherited from UniView.) | |
OnInit |
Init event handler.
(Inherited from BasicUniView.) | |
OnLoad |
OnLoad event handler
(Inherited from BasicUniView.) | |
ProcessItem |
Add UniView item to the controls collection and bind it.
(Inherited from UniView.) | |
RaiseOnBeforeInit |
Raises the OnBeforeInit event.
(Inherited from BasicUniView.) | |
ReBind |
Evokes control databind.
(Inherited from UniView.) | |
ReleaseContext |
Releases the web part context.
| |
ReloadData |
Loads data from the according to the current values of properties.
(Overrides BasicUniViewReloadData(Boolean).) | |
RemovedControl |
Called after a child control is removed from controls collections.
Ensures unipager for current control
(Overrides ControlRemovedControl(Control).) | |
Render |
Render event handler.
(Overrides BasicUniViewRender(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 | |
---|---|---|
mDataLoaded |
Indicates whether data were loaded.
(Inherited from BasicUniView.) | |
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 BasicUniView.) | |
mPageSizeSet |
Indicates if page size property is set.
| |
mRelatedData |
Custom data connected to the object.
(Inherited from BasicUniView.) | |
mRelatedDataLoaded |
Related data is loaded.
(Inherited from BasicUniView.) | |
mUniPager |
Current unipager.
| |
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 BasicUniView.) |
Name | Description | |
---|---|---|
AlternatingItemTemplate |
Alternating item template.
(Inherited from UniView.) | |
AlternatingRange |
Item / AlternatingItem template changing interval
(Inherited from UniView.) | |
AlternatingStartPosition |
Alternating start position.
(Inherited from UniView.) | |
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.
| |
DataSource |
Object from which data-bound control retrieves its list of data item.
(Inherited from BasicUniView.) | |
DataSourceControl |
Control with data source.
(Inherited from BasicUniView.) | |
DataSourceName |
Gets or sets name of source.
(Inherited from BasicUniView.) | |
DefaultDataSource |
Default data source to use if no external is provided
(Overrides BasicUniViewDefaultDataSource.) | |
DelayedLoading |
Indicates whether the data should be loaded to the load event instead of default init event.
| |
EnablePaging |
Gets or sets the value that indicates whether paging is enabled.
| |
FilterControl |
Filter control.
| |
FilterName |
Gets or Set filter name.
| |
FirstItemTemplate |
First item template.
(Inherited from UniView.) | |
FirstTransformationName |
Transformation name in format application.class.transformation applied to footer item.
| |
FooterTemplate |
Footer item template.
(Inherited from UniView.) | |
FooterTransformationName |
Transformation name in format application.class.transformation applied to footer item.
| |
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)
| |
HeaderTemplate |
Header item template.
(Inherited from UniView.) | |
HeaderTransformationName |
Transformation name in format application.class.transformation applied to header item.
| |
HideControlForZeroRows |
Hides the control when no data is loaded. Default value is False.
(Inherited from BasicUniView.) | |
HideHeaderAndFooterForSingleItem |
Hide Outer data (header, footer) for single item.
(Inherited from UniView.) | |
HierarchicalDisplayMode |
Gets or sets the display mode for hierarchical datasource.
(Inherited from UniView.) | |
HierarchicalTransformationName |
Transformation name for hierarchical transformation collection in format application.class.transformation.
| |
IDColumnName |
Gets or sets the name of the ID column.
| |
IsSelected |
Gets or sets the value that indicates whether current datasource contains selected item.
| |
ItemSeparatorValue |
Item separator between displayed records.
| |
ItemTemplate |
Default item template.
(Inherited from UniView.) | |
LastItemTemplate |
Last item template.
(Inherited from UniView.) | |
LastTransformationName |
Transformation name in format application.class.transformation applied to last item.
| |
LevelColumnName |
Gets or sets the name of the level column.
| |
LoadHierarchicalData |
Gets or sets the value that indictes whether data should be binded in default format
or changes to hierarchical grouped dataset
| |
LoadPagesIndividually |
If true, each page is loaded individually in case of paging.
| |
OrderBy |
Property to set and get the OrderBy.
| |
OuterData |
Data generated in header and footer.
(Inherited from UniView.) | |
PageableControl |
Gets or sets the encapsulated control that implements IUniPageable interface.
(Inherited from BasicUniView.) | |
PagerControl |
Gets the current unipager instance.
| |
PagerCurrentPageTemplate |
Current page template.
| |
PagerDataItem |
Gets or sets the IUniPageable.PagerDataItem value.
(Inherited from UniView.) | |
PagerDirectPageTemplate |
Direct page control template.
| |
PagerFirstPageTemplate |
First page template.
| |
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 UniView.) | |
PagerLastPageTemplate |
Last page template.
| |
PagerLayoutTemplate |
Layout template.
| |
PagerNextGroupTemplate |
Next group template.
| |
PagerNextPageTemplate |
Next page template.
| |
PagerPageNumbersSeparatorTemplate |
Page numbers separator template.
| |
PagerPageNumbersTemplate |
Page numbers template.
| |
PagerPosition |
Pager position.
| |
PagerPreviousGroupTemplate |
Previous group template.
| |
PagerPreviousPageTemplate |
Previous page template.
| |
PageSize |
Number of items per page.
| |
ParentControl |
Parent control.
| |
ParentIDColumnName |
Gets or sets the name of the parent ID column.
| |
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 BasicUniView.) | |
RelationColumnID |
Column from which specifies value of current level (for example parent document id).
(Inherited from UniView.) | |
ResetScrollPositionOnPostBack |
Gets or sets the value that indicates whether scroll position should be cleared after post back paging
| |
ResolveDynamicControls |
Gets or sets the value that indicates whether dynamic controls should be resolved
(Inherited from BasicUniView.) | |
SelectedColumns |
Columns to select.
| |
SelectedDatabaseColumnName |
Gets or sets columns name by which the item is selected.
| |
SelectedItemColumnName |
Gets or sets the column name which should be used for selected item comparison.
(Inherited from UniView.) | |
SelectedItemValue |
Gets or sets the value which indicates selected item.
(Inherited from UniView.) | |
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.
| |
SeparatorTemplate |
Separator item template.
(Inherited from UniView.) | |
SeparatorTransformationName |
Transformation name in format application.class.transformation applied to footer item.
| |
ShowDeleteButton |
Show Delete button.
| |
ShowEditButton |
Show Edit and Delete buttons.
| |
ShowEditDeleteButtons |
Show Edit and Delete buttons.
| |
SingleItemTemplate |
Single item template.
(Inherited from UniView.) | |
SingleTransformationName |
Transformation name in format application.class.transformation applied to single item.
| |
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.
| |
Transformations |
Gets or sets the transformation collection.
(Inherited from UniView.) | |
UniPagerControl |
Pager control.
(Inherited from UniView.) | |
UseHierarchicalOrder |
Gets or sets the value that indicates whether default hierarchical order value should be used.
The order is used only if LoadHierarchicalData is set to true.
Default order value is "NodeLevel, NodeOrder". Value of OrderBy property is joined at the end of the order by expression
| |
UseNearestItemForHeaderAndFooter |
Gets or sets the value that indicates whether data from nearest data item should be used
for header or footer item. This value is ignored if OuterData property is set.
(Inherited from UniView.) | |
WhereCondition |
Property to set and get the WhereCondition.
| |
ZeroRowsText |
Text to be shown when the control is hidden by HideControlForZeroRows.
(Inherited from BasicUniView.) |
Name | Description | |
---|---|---|
OnBeforeInit |
On before init handler.
(Inherited from BasicUniView.) | |
OnItemCreated |
Occurs when an item is created in the UniView control.
(Inherited from UniView.) | |
OnItemDataBound |
Occurs when the control bind UniView item.
(Inherited from UniView.) | |
OnPageBinding |
Occurs when the control bind data.
(Inherited from UniView.) | |
OnPageChanged |
Occurs when the pager change the page and current mode is postback => reload data
(Inherited from UniView.) |