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: 6.0.0.0 (6.0.6225.27214)
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