CMSUniView Class |
Namespace: CMS.Controls
public class CMSUniView : BasicUniView, ICMSDataProperties, ICMSControlProperties, ICMSBaseProperties
The CMSUniView type exposes the following members.
Name | Description | |
---|---|---|
CMSUniView |
Constructor.
| |
CMSUniView(TreeProvider) |
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.) | |
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.) | |
Pager_OnPageChange |
Event raised when page changed
| |
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.) | |
mDataSource |
Document data source.
| |
mFilterControl |
Filter control.
| |
mFilterName |
Filter name.
| |
mFooterItem |
Footer item code.
| |
mHeaderItem |
Header item code.
| |
mItemSeparator |
Item separator code.
| |
mOnBeforeInitFired |
True if the on before init was fired.
(Inherited from BasicUniView.) | |
mRelatedData |
Custom data connected to the object.
(Inherited from BasicUniView.) | |
mRelatedDataLoaded |
Related data is loaded.
(Inherited from BasicUniView.) | |
mUniPager |
Current uni pager.
| |
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.
| |
CategoryName |
Property to set and get the category name for filtering documents.
| |
ClassNames |
Property to set and get the classnames list (separated by the semicolon).
| |
Columns |
Gets or sets the columns to be retrieved from database.
| |
CombineWithDefaultCulture |
Property to set and get the CombineWithDefaultCulture flag.
| |
ControlContext |
Control context.
| |
CultureCode |
Property to set and get the CultureCode.
| |
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.
| |
FilterOutDuplicates |
Indicates if the duplicated (linked) items should be filtered out from the data.
| |
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.
| |
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.
| |
CheckPermissions |
Allows you to specify whether to check permissions of the current user. If the value is 'false' (default value) no permissions are checked. Otherwise, only nodes for which the user has read permission are displayed.
| |
IsSelected |
Gets a value indicating whether the current item is a 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.
| |
LoadHierarchicalData |
Gets or sets the value that indicates whether data should be binded in default format
or changed to hierarchical grouped dataset
| |
LoadPagesIndividually |
If true, each page is loaded individually in case of paging.
| |
MaxRelativeLevel |
Property to set and get the MaxRelativeLevel.
| |
NestedControlsID |
Nested controls ID, use ';' like separator.
| |
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.
| |
Path |
Property to set and get the Path.
| |
RelatedData |
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
(Inherited from BasicUniView.) | |
RelatedNodeIsOnTheLeftSide |
If true, the returned nodes are on the right side of the relationship.
| |
RelationColumnID |
Column from which specifies value of current level (for example parent document id).
(Inherited from UniView.) | |
RelationshipName |
Name of the relationship.
| |
RelationshipWithNodeGuid |
Select nodes with given relationship with given node.
| |
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 |
Gets or sets the columns to be retrieved from database.
| |
SelectedFootertemTransformationName |
Transformation name for selected footeritem in format application.class.transformation.
| |
SelectedHeaderItemTransformationName |
Transformation name for selected header item in format application.class.transformation.
| |
SelectedItemColumnName |
Gets or sets the column name which should be used for selected item comparison.
(Inherited from UniView.) | |
SelectedItemTransformationName |
Transformation name for selected item in format application.class.transformation.
| |
SelectedItemValue |
Gets or sets the value which indicates selected item.
(Inherited from UniView.) | |
SelectOnlyPublished |
Property to set and get the SelectOnlyPublished flag.
| |
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 |
Property to set and get the SiteName.
| |
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.) | |
TreeProvider |
Tree provider instance used to access data. If no TreeProvider is assigned, a new TreeProvider instance is created.
| |
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.) |