CatalogZoneBase.RenderCatalogPartLinks(HtmlTextWriter) Method

Definition

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

protected:
 virtual void RenderCatalogPartLinks(System::Web::UI::HtmlTextWriter ^ writer);
protected virtual void RenderCatalogPartLinks (System.Web.UI.HtmlTextWriter writer);
abstract member RenderCatalogPartLinks : System.Web.UI.HtmlTextWriter -> unit
override this.RenderCatalogPartLinks : System.Web.UI.HtmlTextWriter -> unit
Protected Overridable Sub RenderCatalogPartLinks (writer As HtmlTextWriter)

Parameters

writer
HtmlTextWriter

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

Remarks

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(HtmlTextWriter) method. This method gives you programmatic control over how the links to CatalogPart controls in your zone are rendered.

Applies to

See also