System.Web.UI.HtmlTextWriter.EndRender Method

Notifies an System.Web.UI.HtmlTextWriter object, or an object of a derived class, that a control has finished rendering. You can use this method to close any markup elements opened in the HtmlTextWriter.BeginRender method.

Syntax

public virtual void EndRender ()

Remarks

The System.Web.UI.HtmlTextWriter class implementation of the HtmlTextWriter.EndRender method has no functionality. You must override HtmlTextWriter.EndRender in a class derived from the System.Web.UI.HtmlTextWriter class to provide your own rendering functionality.

You can use the HtmlTextWriter.EndRender method to close any markup elements opened in the HtmlTextWriter.BeginRender method.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0