System.Web.UI.WebControls.Wizard.HeaderTemplate Property

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

Syntax

[System.ComponentModel.Browsable(false)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.Web.UI.TemplateContainer(typeof(System.Web.UI.WebControls.Wizard), System.ComponentModel.BindingDirection.OneWay)]
[System.ComponentModel.DefaultValue(null)]
public virtual System.Web.UI.ITemplate HeaderTemplate { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Wizard.HeaderTemplate property to specify the custom content that is displayed for the header area on a System.Web.UI.WebControls.Wizard control. Define the content by creating a template that specifies how the header area is rendered.

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

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

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0