System.Web.UI.Control.RenderChildren Method

Outputs the content of a server control's children to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.

Syntax

protected virtual void RenderChildren (HtmlTextWriter writer)

Parameters

writer
The System.Web.UI.HtmlTextWriter object that receives the rendered content.

Remarks

This method notifies ASP.NET to render any Active Server Pages (ASP) code on the page. If no ASP code exists on the page, this method renders any child controls for the server control. This method is called by the Control.Render(HtmlTextWriter) method.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0