UniView Class |
Namespace: CMS.Controls
public class UniView : CompositeDataBoundControl, IUniPageable
The UniView type exposes the following members.
Name | Description | |
---|---|---|
CreateHierarchicalItem |
Creates new UniView item and initialize object with selected template.
| |
CreateChildControls |
Creates child controls.
(Overrides CompositeDataBoundControlCreateChildControls(IEnumerable, Boolean).) | |
CreateItem |
Creates new UniView item and initialize object with selected template.
| |
GenerateContent |
Default method to the content generating.
| |
GenerateInnerHierarchicalContent |
Inner hierarchical content generating.
| |
GenerateSeparateHierarchicalContent |
Separate hierarchical content generating.
| |
GetDataItemValue |
Returns value from specified data item object.
| |
GetItemsCount |
Try to get items count from IEnumerable object.
| |
GetItemType |
Returns item type based on current index and item count.
| |
GetTemplate |
Returns default item template if selected template is empty.
| |
ObjectToDataRowView |
Converts object (DataSet, DataTable, DataRow) to DataRowView.
| |
ProcessItem |
Add UniView item to the controls collection and bind it.
| |
ReBind |
Evokes control databind.
| |
Render |
Removes default webcontrol span tag.
(Overrides WebControlRender(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.) | |
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 | |
---|---|---|
AlternatingItemTemplate |
Alternating item template.
| |
AlternatingRange |
Item / AlternatingItem template changing interval
| |
AlternatingStartPosition |
Alternating start position.
| |
DataSource |
Gets or sets the object from which data-bound control retrieves its list of data item.
(Overrides BaseDataBoundControlDataSource.) | |
FirstItemTemplate |
First item template.
| |
FooterTemplate |
Footer item template.
| |
HeaderTemplate |
Header item template.
| |
HideHeaderAndFooterForSingleItem |
Hide Outer data (header, footer) for single item.
| |
HierarchicalDisplayMode |
Gets or sets the display mode for hierarchical datasource.
| |
ItemTemplate |
Default item template.
| |
LastItemTemplate |
Last item template.
| |
OuterData |
Data generated in header and footer.
| |
PagerDataItem |
Gets or sets the IUniPageable.PagerDataItem value.
| |
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
| |
RelationColumnID |
Column from which specifies value of current level (for example parent document id).
| |
SelectedItemColumnName |
Gets or sets the column name which should be used for selected item comparison.
| |
SelectedItemValue |
Gets or sets the value which indicates selected item.
| |
SeparatorTemplate |
Separator item template.
| |
SingleItemTemplate |
Single item template.
| |
Transformations |
Gets or sets the transformation collection.
| |
UniPagerControl |
Pager control.
| |
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.
|
Name | Description | |
---|---|---|
OnItemCreated |
Occurs when an item is created in the UniView control.
| |
OnItemDataBound |
Occurs when the control bind UniView item.
| |
OnPageBinding |
Occurs when the control bind data.
| |
OnPageChanged |
Occurs when the pager change the page and current mode is postback => reload data
|