HtmlForm.RenderChildren Method
.NET Framework 2.0
Renders the child controls of the HtmlForm control.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)
Notes to Inheritors
When overriding the RenderChildren method in a derived class, be sure to call the base class's RenderChildren method so that the HtmlForm control's child controls are correctly rendered.
Assembly: System.Web (in system.web.dll)
protected void RenderChildren ( HtmlTextWriter writer )
protected internal override function RenderChildren ( writer : HtmlTextWriter )
Parameters
- writer
The HtmlTextWriter that receives the rendered content.
The RenderChildren method renders client script to ensure that the browser focus is set to the control specified in the DefaultFocus property.
Note |
|---|
| A control specified by the Page.SetFocus property takes precedence over a control specified by the DefaultFocus property. |
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show:
Note