BasicUniView Class |
Namespace: CMS.Controls
public class BasicUniView : UniView, IUniPageableContainer, IRelatedData
The BasicUniView type exposes the following members.
Name | Description | |
---|---|---|
BasicUniView |
Constructor.
|
Name | Description | |
---|---|---|
mDataLoaded |
Indicates whether data were loaded.
| |
mOnBeforeInitFired |
True if the on before init was fired.
| |
mRelatedData |
Custom data connected to the object.
| |
mRelatedDataLoaded |
Related data is loaded.
| |
useDataSourceControl |
Indicates whether the viewer should obtain data source from the referenced control provided by the value of DataSourceControl property.
|
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.) | |
DataBindByDefault |
Indicates whether data binding should be performed by default.
| |
DataSource |
Object from which data-bound control retrieves its list of data item.
(Overrides UniViewDataSource.) | |
DataSourceControl |
Control with data source.
| |
DataSourceName |
Gets or sets name of source.
| |
DefaultDataSource |
Default data source to use if no external is provided.
| |
FirstItemTemplate |
First item template.
(Inherited from UniView.) | |
FooterTemplate |
Footer item template.
(Inherited from UniView.) | |
HeaderTemplate |
Header item template.
(Inherited from UniView.) | |
HideControlForZeroRows |
Hides the control when no data is loaded. Default value is False.
| |
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.) | |
ItemTemplate |
Default item template.
(Inherited from UniView.) | |
LastItemTemplate |
Last item template.
(Inherited from UniView.) | |
OuterData |
Data generated in header and footer.
(Inherited from UniView.) | |
PageableControl |
Gets or sets the encapsulated control that implements IUniPageable interface.
| |
PagerDataItem |
Gets or sets the IUniPageable.PagerDataItem value.
(Inherited from UniView.) | |
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.) | |
RelatedData |
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
| |
RelationColumnID |
Column from which specifies value of current level (for example parent document id).
(Inherited from UniView.) | |
ResolveDynamicControls |
Gets or sets the value that indicates whether dynamic controls should be resolved
| |
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.) | |
SeparatorTemplate |
Separator item template.
(Inherited from UniView.) | |
SingleItemTemplate |
Single item template.
(Inherited from UniView.) | |
Transformations |
Gets or sets the transformation collection.
(Inherited from UniView.) | |
UniPagerControl |
Pager control.
(Inherited from UniView.) | |
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.) | |
ZeroRowsText |
Text to be shown when the control is hidden by HideControlForZeroRows.
|
Name | Description | |
---|---|---|
BoundPagerToDataSource |
Bound pager to the external external DataSource
| |
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.) | |
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.
| |
InitControl |
Ensures default data binding
| |
ObjectToDataRowView |
Converts object (DataSet, DataTable, DataRow) to DataRowView.
(Inherited from UniView.) | |
OnInit |
Init event handler.
(Overrides BaseDataBoundControlOnInit(EventArgs).) | |
OnLoad |
OnLoad event handler
(Overrides DataBoundControlOnLoad(EventArgs).) | |
ProcessItem |
Add UniView item to the controls collection and bind it.
(Inherited from UniView.) | |
RaiseOnBeforeInit |
Raises the OnBeforeInit event.
| |
ReBind |
Evokes control databind.
(Inherited from UniView.) | |
ReloadData |
Reloads the control data, skips the loading if the data is already loaded.
| |
Render |
Render event handler, to maintain the proper control rendering.
(Overrides UniViewRender(HtmlTextWriter).) |
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.) | |
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.) | |
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 ControlsExtensions.) | |
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.) |
Name | Description | |
---|---|---|
OnBeforeInit |
On before init handler.
| |
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.) |