CatalogZoneBase.RenderCatalogPartLinks Method (HtmlTextWriter)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 2.0
Return to top
Show: