WebPartZoneBase.RenderHeader Method

Overrides the base method to render the header of a WebPartZoneBase zone that contains WebPart controls.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

protected:
virtual void RenderHeader (
	HtmlTextWriter^ writer
) override
protected void RenderHeader (
	HtmlTextWriter writer
)
protected override function RenderHeader (
	writer : HtmlTextWriter
)
Not applicable.

Parameters

writer

The HtmlTextWriter that receives the content of the header.

The RenderHeader method overrides the base method so that it can render a header unique to zones that derive from the WebPartZoneBase class and contain WebPart controls. Unlike a ToolZone zone, a WebPartZoneBase zone does not require verbs in its header. All it requires is a single-celled table, a zone title, and the style attributes applied to the title.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: