Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Wizard.HeaderTemplate Property

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

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

[BrowsableAttribute(false)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[TemplateContainerAttribute(typeof(Wizard))]
public virtual ITemplate HeaderTemplate { get; set; }
<asp:Wizard>
	<HeaderTemplate>ITemplate</HeaderTemplate>
</asp:Wizard>

Property Value

Type: System.Web.UI.ITemplate
An ITemplate that contains the template for displaying the header area on the Wizard. The default is null.

Use the HeaderTemplate property to specify the custom content that is displayed for the header area on a 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 HeaderTemplate object. You can add custom content to the HeaderTemplate object either by using template-editing mode in design view or by defining the 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 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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft