System.Web.UI.Adapters.ControlAdapter.EndRender Method

Called after the rendering of a control. In a derived adapter class, generates closing tags that are required by a specific target but not needed by HTML browsers.

Syntax

protected virtual void EndRender (System.Web.UI.HtmlTextWriter w)

Parameters

w
Documentation for this section has not yet been entered.

Remarks

The ControlAdapter.EndRender(System.Web.UI.HtmlTextWriter) method is called just after the ControlAdapter.Render(System.Web.UI.HtmlTextWriter) method, and is used to perform target-specific postprocessing after the rendering of the control.

Use the ControlAdapter.EndRender(System.Web.UI.HtmlTextWriter) method in combination with the ControlAdapter.BeginRender(System.Web.UI.HtmlTextWriter) method to ensure opening and closing tag consistency.

Requirements

Namespace: System.Web.UI.Adapters
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0