Literal::Render Method (HtmlTextWriter^)
.NET Framework (current version)
Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
Assembly: System.Web (in System.Web.dll)
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: