ListChildrenRenderTableAsColumnStyle Method Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Renders the table, oriented using columns.

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

protected virtual void RenderTableAsColumnStyle(
	TextWriter writer,
	XmlReader xmlReader
)

Parameters

writer
Type: System.IOTextWriter
A SiteBaseWriteResponse object that is used to write the table.
xmlReader
Type: System.XmlXmlReader
Xml that contains the document data to write. The syntax of this xml is the return value of the DocumentComponentSupport.ListChildren/see> method
Remarks

This method is called from the Invoke method if the Orientation property is set to Column. Developers can override this method to render their own table in this orientation. Since the passed in SiteBaseWriteResponse object is created and disposed by the calling Invoke method developers do not need to dispose this object.
Note Note
The difference between this method and the RenderTableAsRowStyle(TextWriter, XmlReader) is that the latter writes one row for each data column that is defined by the SetColumnDefinition(Int32, String) method while this method writes one row per document and one cell per column defined.
See Also

Reference