HtmlLink.Render Method (HtmlTextWriter)


Renders the HtmlLink control to the specified HtmlTextWriter object.

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

protected internal override void Render(
	HtmlTextWriter writer


Type: System.Web.UI.HtmlTextWriter

The HtmlTextWriter that receives the rendered content.

The Render method renders a SelfClosingTagEnd closing bracket (/>) if the ASP.NET application is configured to render XHTML-compliant markup. By default, ASP.NET pages and controls render markup that is compatible with the XHTML 1.1 standard. For more information on configuring an ASP.NET Web site for non-XHTML rendering, see NIB: How to: Configure XHTML Rendering in ASP.NET Web Sites.

.NET Framework
Available since 2.0
Return to top