UniPager Class |
Namespace: CMS.DocumentEngine.Web.UI
public class UniPager : CMSWebControl, INamingContainer, IPostBackEventHandler
The UniPager type exposes the following members.
Name | Description | |
---|---|---|
mEnvelopeTag |
Default envelope tag.
| |
mHTMLEnvelopeRenderingMode |
Default envelope rendering mode.
| |
mRelatedData |
Custom data connected to the object.
| |
mRelatedDataLoaded |
Related data is loaded.
|
Name | Description | |
---|---|---|
CurrentPage |
Gets or sets the current pages number.
| |
CurrentPageTemplate |
Current page template.
| |
DataSourceItemsCount |
Gets or sets the count of items in datasource.
| |
DirectPageControlID |
Gets or sets the ID of direct page control in template.
| |
DirectPageTemplate |
Direct page control template.
| |
DisplayFirstLastAutomatically |
Gets or sets the value that indicates whether first and last items should be displayed only if first or last is not accessible by other way accessible.
| |
DisplayPreviousNextAutomatically |
Gets or sets the value that indicates whether previous and next items should be displayed only if next or previous is not accessible by other way.
| |
EnvelopeTag |
Gets or sets the current envelope tag.
| |
FilterTypePageControl |
Gets or sets the ID of the control to page.
| |
FirstPageTemplate |
First page template.
| |
FirstPageText |
Text displayed in first page link.
| |
GroupSize |
Gets or sets the current pages number.
| |
HidePagerForSinglePage |
Gets or sets the value that indicates whether pager should be hidden for single page.
| |
HTMLEnvelopeRenderingMode |
Gets or sets the HTML envelope rendering mode for current pager.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSWebControl.) | |
ItemsCount |
Gets or sets the current group item size.
| |
LastPageTemplate |
Last page template.
| |
LastPageText |
Text displayed in last page link.
| |
LayoutTemplate |
Layout template.
| |
MaxPages |
Gets or sets the max. processed pages (only for query string mode and fake number of results).
| |
NextGroupTemplate |
Next group template.
| |
NextGroupText |
Text displayed in next group link.
| |
NextPageTemplate |
Next page template.
| |
NextPageText |
Text displayed in next page link.
| |
PageControl |
Gets or sets the ID of the control to page.
| |
PageCount |
Gets or sets the current number of pages.
| |
PagedControl |
Paged control.
| |
PageNumbersSeparatorTemplate |
Page numbers separator template.
| |
PageNumbersTemplate |
Page numbers summary>
| |
PagerMode |
Gets or sets the pager mode.
| |
PageSize |
Gets or sets the page size.
| |
PreviousGroupTemplate |
Previous group template.
| |
PreviousGroupText |
Text displayed in previous group link.
| |
PreviousPageTemplate |
Previous page template.
| |
PreviousPageText |
Text displayed in previous page link.
| |
QueryStringKey |
Gets or sets the pager querystring key.
| |
RelatedData |
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
| |
ResetScrollPositionOnPostBack |
Reset scroll position on post back action
| |
ShortID |
Short ID of the control.
(Inherited from CMSWebControl.) | |
UseQueryParameterForFirstPage |
Gets or sets the value that indicates whether links to the first page should be generated with querystring parameter
|
Name | Description | |
---|---|---|
BoundTargetControl |
Bound target control.
| |
ConnectToPagedControl |
Connects the pager to the given paged control
| |
GetCurrentPage |
Returns current page.
| |
GetInnerControl |
Returns inner control in layout template control collection.
| |
OnInit |
OnInit override.
(Overrides CMSWebControlOnInit(EventArgs).) | |
OnLoad |
OnLoad override.
(Overrides ControlOnLoad(EventArgs).) | |
OnPreRender |
OnPreRender.
(Overrides ControlOnPreRender(EventArgs).) | |
ProcessItem |
Process item.
| |
RaisePostBackEvent |
Raise post back event - handle page change.
| |
RebindPager |
Calls page binding method for initializing pager control and ensures all necessary actions.
| |
ReloadData |
Loads data according to the current values of properties.
| |
Render |
Removes web control default 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.) | |
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 | |
---|---|---|
OnBeforeTemplateLoading |
Occurs before pager templates are loaded.
| |
OnPageChanged |
Occurs when page is changed.
|