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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: