This documentation is archived and is not being maintained.

CatalogZoneBase::RenderCatalogPartLinks Method

Renders the links to the individual CatalogPart controls in a CatalogZoneBase zone.

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

protected:
virtual void RenderCatalogPartLinks(
	HtmlTextWriter^ writer
)

Parameters

writer
Type: System.Web.UI::HtmlTextWriter

The HtmlTextWriter that receives the contents of the links to the zone's controls.

The RenderCatalogPartLinks method renders links to the individual CatalogPart controls in a zone if there are multiple CatalogPart controls.

The link for the currently selected CatalogPart control is rendered differently so that it stands out from the unselected controls. Developers can set the style attributes for the selected and unselected control links by using the SelectedPartLinkStyle and PartLinkStyle properties, respectively.

The links to the CatalogPart controls in a zone are not navigational; they are for displaying the user interface (UI) of the controls. When a user clicks the link for a control, the UI for any other displayed control is hidden, and the UI for the selected control is displayed.

Notes to Inheritors:

If you create a custom class that inherits from the CatalogZoneBase class, you can optionally override the RenderCatalogPartLinks method. This method gives you programmatic control over how the links to CatalogPart controls in your zone are rendered.

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: