HtmlForm.RenderControl(HtmlTextWriter) Method

Definition

Renders the HtmlForm control to the specified HtmlTextWriter object.

public:
 override void RenderControl(System::Web::UI::HtmlTextWriter ^ writer);
public override void RenderControl (System.Web.UI.HtmlTextWriter writer);
override this.RenderControl : System.Web.UI.HtmlTextWriter -> unit
Public Overrides Sub RenderControl (writer As HtmlTextWriter)

Parameters

writer
HtmlTextWriter

The HtmlTextWriter that receives the form control content.

Notes to Inheritors

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

Applies to

See also