Home » Documentation » DataPager

DataPager

The DataPager object allow for an easy and convenient way to manage pagination for your result pages.

Constructors

Name Description
Constructor  Initializes a new instance of the DataPager class.

Methods

Name Description
GetLinkLoopStart  Returns the starting index of the link loop from this instance.
GetLinkLoopStop  Returns the ending index of the link loop from this instance.
GetNextPage  Returns the next page index of this instance.
GetPreviousPage  Returns the previous page index of this instance.
GetRecordToStart  Returns the starting record index of this instance.
GetRecordToStop  Returns the ending record index of this instance.
GetTotalPages  Gets the total page count from the current instance.
HasNextPage  Returns true if a next page index exists in this instance, false otherwise.
HasPreviousPage  Returns true if a previous page index exists in this instance, false otherwise.

Properties

Name Description
CurrentPage  Get or set the current page in this instance.
LinkLoopOffset  Get or set the link loop offset of this instance.
RecordsPerPage  Get or set the records per page of this instance.
TotalRecords  Get or set the total records of this instance.
Are you a robot?
Your Email:
Create a Username:
Create a Password:
Forgot Password?
Validate Text: Captcha