Literal::Render Method (HtmlTextWriter^)

 

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

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

public protected:
virtual void Render(
	HtmlTextWriter^ writer
) override

Parameters

writer
Type: System.Web.UI::HtmlTextWriter^

The HtmlTextWriter object that receives the server control content.

The following code example demonstrates how to override the Render method in a custom server control so that specific text is always displayed before the Literal.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: