Click or drag to resize

HtmlUtilsCalculatePageSteps Method

Calculates pagination steps.

Namespace:  PDTec.IceNet.Web.Utils
Assembly:  PDTec.IceNet.Web (in PDTec.IceNet.Web.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public 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: HtmlUtilsPageStep
The pagination steps.
See Also