DataHelper GetTopNForPage Method Kentico 8.1 API Reference
Gets the TOPN value to be able to get the specific page out of the paged results with old paging (through TOPN only).

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

topN
Type: OnlineSystem Int32
Top N records
offset
Type: OnlineSystem Int32
Index of first record to get
maxRecords
Type: OnlineSystem Int32
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)

Return Value

Type: OnlineInt32
See Also