System.Web.UI.WebControls.Wizard.StartNavigationTemplate Property

Gets or sets the template that is used to display the navigation area on the WizardStepType.Start step of the System.Web.UI.WebControls.Wizard 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 StartNavigationTemplate { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Wizard.StartNavigationTemplate property to specify the custom content that is displayed for the navigation area on the WizardStepType.Start step of the System.Web.UI.WebControls.Wizard control. Define the content by creating a template that specifies how the navigation area is rendered on the WizardStepType.Start step.

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

Note:

The Wizard.StartNavigationTemplate object that is contained in the Wizard.StartNavigationTemplate property must contain an System.Web.UI.WebControls.IButtonControl control with the IButtonControl.CommandName property set to "MoveNext" to enable the navigation feature.

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