HtmlForm.RenderControl Method (HtmlTextWriter)

 

Renders the HtmlForm control to the specified HtmlTextWriter object.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

public override void RenderControl(
	HtmlTextWriter writer
)

Parameters

writer
Type: System.Web.UI.HtmlTextWriter

The HtmlTextWriter that receives the form control content.

Notes to Inheritors:

When overriding the RenderControl method in a derived class, be sure to call the base class's RenderControl method so that the HtmlForm control is correctly rendered.

.NET Framework
Available since 2.0
Return to top
Show: