System.Web.UI.Control.Render Method

Sends server control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.

Syntax

protected virtual void Render (HtmlTextWriter writer)

Parameters

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

Remarks

When developing custom server controls, you can override this method to generate content for an ASP.NET page.

Requirements

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