Click or drag to resize
BasicDataPager Class
Control for supporting the data paging within the databound controls.
Inheritance Hierarchy

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntax
C#
public class BasicDataPager : CMSWebControl, 
	INamingContainer

The BasicDataPager type exposes the following members.

Constructors
  NameDescription
Public methodBasicDataPager
Constructor.
Top
Fields
  NameDescription
Protected fieldmDataSource
DataSource.
Protected fieldmMaxPages
Max. pages.
Protected fieldmPagedData
Paged data.
Protected fieldmPagingMode
Paging mode.
Protected fieldmUniqueID
Unique ID.
Top
Properties
  NameDescription
Public propertyCurrentPage
Current page number.
Public propertyDataSource
Pager DataSource.
Public propertyIsLiveSite
Indicates if control is used on live site.
(Inherited from CMSWebControl.)
Public propertyMaxPages
Maximum number of pages to be displayed.
Public propertyPageCount
Page count.
Public propertyPagedData
Paged data.
Public propertyPagerPosition
Pager position.
Public propertyPageSize
Page size.
Public propertyPagingMode
Determines if PostBack or QueryString should be used for the paging.
Public propertyRecordEnd
Index of the last record on current page.
Public propertyRecordStart
Index of the first record on current page.
Public propertyShortID
Short ID of the control.
(Inherited from CMSWebControl.)
Protected propertyTagKey
Overrides the generation of the SPAN tag with custom tag.
(Overrides WebControlTagKey.)
Public propertyTotalRecords
Total data source records.
Public propertyUniqueID
Unique ID.
(Overrides ControlUniqueID.)
Top
Methods
  NameDescription
Public methodGetBackNextLocation
Returns back/next type based on the given string.
Public methodGetItemDataRow
Returns the DataRow for the given item index.
Public methodGetItemPage
Returns the page of selected item (start with 1)
Public methodGetPagerPosition
Returns the pager position based on the given string.
Public methodGetPagingMode
Returns the paging mode based on the given string.
Public methodGetResultPosition
Returns the result position based on the given string.
Protected methodOnInit
Init event handler.
(Inherited from CMSWebControl.)
Public methodRaiseOnDataSourceChanged
Raises the OnDataSourceChanged event.
Public methodRaiseOnPageChange
Raises the OnPageChange event.
Protected methodRender
Render override.
(Overrides WebControlRender(HtmlTextWriter).)
Public methodStatic memberStringToPagingPlaceTypeEnum
Returns the pager position based on the given string.
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 eventOnDataSourceChanged
Data source change event.
Public eventOnPageChange
Page change event.
Top
See Also