System.Web.UI.Adapters.ControlAdapter.BeginRender Method

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

Syntax

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

Parameters

w
Documentation for this section has not yet been entered.

Remarks

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

Use the ControlAdapter.BeginRender(System.Web.UI.HtmlTextWriter) method in combination with the ControlAdapter.EndRender(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