Content Studio Web Content Management System
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
[This is preliminary documentation and is subject to change.]
Create a page range in HTML or XHTML
Namespace: ContentStudio.Site.ActiveScripting
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
protected void CreatePageRange( Stream stream, string uniqueId, int pageNumber, int rangeSize, int pageCount, string linkAttributes, bool isInPost, string linkSeparator, string linkPrefix, string previousRange, string previousPage, string nextPage, string nextRange, string leadingPageRangeText )
Parameters
- stream
- Type: System.IOStream
Stream to write to. Set to null for use of the default response.stream. - uniqueId
- Type: SystemString
An identifier for the paging unit. All paging units (i.e. search results) on a page must have unique identifiers. - pageNumber
- Type: SystemInt32
The page number you want to display. - rangeSize
- Type: SystemInt32
The number of pages to display references to. - pageCount
- Type: SystemInt32
The number of pages - linkAttributes
- Type: SystemString
Attributes on links in the page range. - isInPost
- Type: SystemBoolean
Tells if the page is a postback. - linkSeparator
- Type: SystemString
Separator between links. - linkPrefix
- Type: SystemString
Link prefix text. - previousRange
- Type: SystemString
Previous page range text. - previousPage
- Type: SystemString
Previous page text. - nextPage
- Type: SystemString
Next page text. - nextRange
- Type: SystemString
Next page range text. - leadingPageRangeText
- Type: SystemString
Leading page range text.
See Also