LiteralControl.Render(HtmlTextWriter) LiteralControl.Render(HtmlTextWriter) LiteralControl.Render(HtmlTextWriter) LiteralControl.Render(HtmlTextWriter) Method

Definition

Writes the content of the LiteralControl object to the ASP.NET page.

protected public:
 override void Render(System::Web::UI::HtmlTextWriter ^ output);
protected internal override void Render (System.Web.UI.HtmlTextWriter output);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overrides Sub Render (output As HtmlTextWriter)

Parameters

output
HtmlTextWriter HtmlTextWriter HtmlTextWriter HtmlTextWriter

An HtmlTextWriter that renders the content of the LiteralControl to the requesting client.

Remarks

When you create a custom server control and want to render specific HTML or text to a client, you can improve the performance of the control by passing the value of the Text property to the Control.Render method rather than calling the Render method.

Applies to

See also