HtmlUtilsCalculatePageSteps Method |
Calculates pagination steps.
Namespace: PDTec.IceNet.Web.UtilsAssembly: PDTec.IceNet.Web (in PDTec.IceNet.Web.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic static HtmlUtilsPageStep[] CalculatePageSteps(
int currentOffset,
int pageSize,
bool useSimplePaging,
int itemsCount
)
Parameters
- currentOffset
- Type: SystemInt32
The current pagination offset. - pageSize
- Type: SystemInt32
The number of items displayed per page. - useSimplePaging
- Type: SystemBoolean
Indicates if simple pagination should be used. - itemsCount
- Type: SystemInt32
The numer of total items to be displayed.
Return Value
Type:
HtmlUtilsPageStepThe pagination steps.
See Also