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 methodCreateHierarchicalItem
Creates new UniView item and initialize object with selected template.
(Inherited from UniView.)
Protected methodCreateChildControls
Creates child controls.
(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 methodEnsurePager
Creates instance of unipager and bind this pager to the current control.
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 methodRemovedControl
Called after a child control is removed from controls collections. Ensures unipager for current control
(Overrides ControlRemovedControl(Control).)
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 MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
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 MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
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 CoreExtensions.)
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.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also