EPTBasePrepareSortCells Method (Stream, Boolean, String, String, String, String, String, String, Boolean, Boolean) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Prepare sort cells. Writes a <td></td> or <span></span> portion of sort cell.

Namespace: ContentStudio.Site.ActiveScripting
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

protected void PrepareSortCells(
	Stream stream,
	bool returnFieldInResult,
	string sortCellAttributes,
	string sortColumn,
	string querystring,
	string uniqueId,
	string xmlField,
	string defaultSortField,
	bool sortDescending,
	bool isInPost
)

Parameters

stream
Type: System.IOStream
Stream to write to. Set to null for use of Response.OutputStrem.
returnFieldInResult
Type: SystemBoolean
Tellls if the field is returned in the result set from XMLQuery
sortCellAttributes
Type: SystemString
Optional attributes in sort cells
sortColumn
Type: SystemString
Text to display in sort column
querystring
Type: SystemString
querystring to use
uniqueId
Type: SystemString
Change this if you want more than one sorting per page.
xmlField
Type: SystemString
The name of the XML-field to sort on
defaultSortField
Type: SystemString
Default sort field to use
sortDescending
Type: SystemBoolean
Sort in descening order
isInPost
Type: SystemBoolean
Tells if the page is postback.
See Also

Reference