Wizard.SideBarTemplate Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the template that is used to display the sidebar area on the control.

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

public virtual ITemplate SideBarTemplate { get; set; }
/** @property */
public ITemplate get_SideBarTemplate ()

/** @property */
public void set_SideBarTemplate (ITemplate value)

public function get SideBarTemplate () : ITemplate

public function set SideBarTemplate (value : ITemplate)

Property Value

An ITemplate that contains the template for displaying the sidebar area on the Wizard. The default is a null reference (Nothing in Visual Basic).

Use the SideBarTemplate property to specify the custom content that is displayed for the sidebar area on a Wizard control. Define the content by creating a template that specifies how the sidebar area is rendered.

The custom content for the template is contained within the SideBarTemplate object. You can add custom content to the SideBarTemplate object either by using template-editing mode in design view or by defining the SideBarTemplate object inline using SideBarTemplate tags. The content can be as simple as plain text or more complex (embedding other controls in the template, for example).


The SideBarTemplate object must contain a DataList control with the ID property set to "SideBarList" to enable the sidebar navigation feature. Also, the "SideBarList" on the DataList control must contain an IButtonControl control.

To access a control that is defined in a template programmatically, use the Controls collection of the Wizard object. You can also use the FindControl method of the Wizard object to find the control, if the control has an ID property specified.

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

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

.NET Framework

Supported in: 2.0