Click or drag to resize
UniPagerConnector Class
Control that can be used as connector to UniPager without implementing the IUniPageable interface.
Inheritance Hierarchy

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public class UniPagerConnector : WebControl, 
	IUniPageable

The UniPagerConnector type exposes the following members.

Constructors
  NameDescription
Public methodUniPagerConnector
Top
Fields
  NameDescription
Protected fieldmPagerForceNumberOfResults
Forced number of results for the pager.
Top
Properties
  NameDescription
Public propertyPagerDataItem
Pager data item object.
Public propertyPagerForceNumberOfResults
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
Public propertyUniPagerControl
Pager control.
Top
Methods
  NameDescription
Public methodRaiseOnPageBinding
Raises the OnPageBinding method.
Public methodReBind
Evokes control databind.
Protected methodRender
Render.
(Overrides WebControlRender(HtmlTextWriter).)
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
Events
  NameDescription
Public eventOnPageBinding
Occurs when the control bind data.
Public eventOnPageChanged
Occurs when the pager change the page and current mode is postback => reload data
Top
See Also