RenderHeading Method (ContainerRenderer Object)
The RenderHeading method renders a table containing the current view’s column headers.
Syntax
strHTML = objContRend.RenderHeading( [bstrCellPattern] [, varResponseObject] )
- strHTML
- On successful return, contains a string with the HTML hypertext representing the headers. However, if the varResponseObject parameter is supplied, RenderHeading returns a value of Empty.
- objContRend
- Required. The ContainerRenderer object.
- bstrCellPattern
- Optional. String. A rendering source specifying the rendering of the heading cell for each column. If supplied, the bstrCellPattern parameter overrides the specification in the HeadingCellPattern property.
- varResponseObject
- Optional. Object. An Active Server response object used to accumulate HTML output to send to the browser. This parameter is used primarily in ASP applications. If varResponseObject is not supplied, the output is written to strHTML.
Remarks
The HTML output of the Render and RenderHeading methods is treated as two separate tables, one for the header row and one for the container contents rows. The TablePrefix and TableSuffix property strings are inserted around each of these tables.
You might choose to call RenderHeading only in the first frame of your HTML output and then display only item rows in subsequent frames.