Click or drag to resize
CMSUniView Methods

The CMSUniView type exposes the following members.

Methods
  NameDescription
Protected methodBoundPagerToDataSource
Bound pager to the external external DataSource
(Inherited from BasicUniView.)
Public methodClearCache
Clears the cached items.
Protected methodCreateChildControls
Creates the control hierarchy that is used to render a composite data-bound control based on the values that are stored in view state.
(Overrides CompositeDataBoundControlCreateChildControls.)
Protected methodCreateChildControls(IEnumerable, Boolean)
Creates child controls.
(Inherited from UniView.)
Protected methodCreateHierarchicalItem
Creates new UniView item and initialize object with selected template.
(Inherited from UniView.)
Protected methodCreateItem
Creates new UniView item and initialize object with selected template.
(Inherited from UniView.)
Public methodDataBind
Binds a data source to the invoked server control and all its child controls.
(Overrides BaseDataBoundControlDataBind.)
Protected methodGenerateContent
Default method to the content generating.
(Inherited from UniView.)
Protected methodGenerateInnerHierarchicalContent
Inner hierarchical content generating.
(Inherited from UniView.)
Protected methodGenerateSeparateHierarchicalContent
Separate hierarchical content generating.
(Inherited from UniView.)
Protected methodGetDataItemValue
Returns value from specified data item object.
(Inherited from UniView.)
Protected methodGetItemsCount
Try to get items count from IEnumerable object.
(Inherited from UniView.)
Protected methodGetItemType
Returns item type based on current index and item count.
(Inherited from UniView.)
Protected methodGetTemplate
Returns default item template if selected template is empty.
(Inherited from UniView.)
Public methodHasData
Indicates if data source contains data.
(Inherited from BasicUniView.)
Protected methodInitControl
Ensures default data binding
(Overrides BasicUniViewInitControl(Boolean).)
Protected methodObjectToDataRowView
Converts object (DataSet, DataTable, DataRow) to DataRowView.
(Inherited from UniView.)
Protected methodOnInit
Init event handler.
(Inherited from BasicUniView.)
Protected methodOnLoad
OnLoad event handler
(Inherited from BasicUniView.)
Protected methodPager_OnPageChange
Event raised when page changed
Protected methodProcessItem
Add UniView item to the controls collection and bind it.
(Inherited from UniView.)
Protected methodRaiseOnBeforeInit
Raises the OnBeforeInit event.
(Inherited from BasicUniView.)
Public methodReBind
Evokes control databind.
(Inherited from UniView.)
Public methodReleaseContext
Releases the web part context.
Public methodReloadData
Loads data from the according to the current values of properties.
(Overrides BasicUniViewReloadData(Boolean).)
Protected methodRender
Render event handler.
(Overrides BasicUniViewRender(HtmlTextWriter).)
Public methodSetContext
Sets the web part context.
Top
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodCallHandled
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.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Top
See Also