HtmlUtilsCalculatePageSteps Method |
Calculates pagination steps.
Namespace:
PDTec.IceNet.Web.Utils
Assembly:
PDTec.IceNet.Web (in PDTec.IceNet.Web.dll) Version: 7.0.0.0 (7.0.6906.26599)
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