Renders the System.Web.UI.HtmlControls.HtmlLink control to the specified System.Web.UI.HtmlTextWriter object.
- writer
The System.Web.UI.HtmlTextWriter that receives the rendered content.
The HtmlLink.Render(System.Web.UI.HtmlTextWriter) method renders a System.Web.UI.HtmlTextWriter.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 How to: Configure ASP.NET Web Sites for Non-XHTML Rendering.