System.Web.UI.WebControls.Menu.RenderContents Method

This member overrides WebControl.RenderContents(System.Web.UI.HtmlTextWriter).

Syntax

protected override void RenderContents (System.Web.UI.HtmlTextWriter writer)

Parameters

writer
The System.Web.UI.HtmlTextWriter containing methods to build and render the device-specific output.

Remarks

Override the WebControl.RenderContents(System.Web.UI.HtmlTextWriter) method to render the contents of the control between the begin and end tags. The default implementation of this method renders any child controls.

Requirements

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