System.Web.UI.WebControls.TreeView.RenderContents Method

Renders the nodes in the System.Web.UI.WebControls.TreeView control.

Syntax

protected override void RenderContents (System.Web.UI.HtmlTextWriter writer)

Parameters

writer
The System.Web.UI.HtmlTextWriter that represents the output stream used to write content to a Web page.

Remarks

Use the TreeView.RenderContents(System.Web.UI.HtmlTextWriter) method to render the nodes in the System.Web.UI.WebControls.TreeView control to the client.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0