Writes the content of the System.Web.UI.LiteralControl object to the ASP.NET page.
- writer
- a System.Web.UI.HtmlTextWriter
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 LiteralControl.Text property to the Control.Render(HtmlTextWriter) method rather than calling the LiteralControl.Render(HtmlTextWriter) method.