System.Web.UI.WebControls.Wizard.FinishNavigationTemplate Property

Gets or sets the template that is used to display the navigation area on the WizardStepType.Finish step.

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 FinishNavigationTemplate { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Wizard.FinishNavigationTemplate property to specify the custom content that is displayed for the navigation area on the WizardStepType.Finish 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.Finish step.

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

Note:

The Wizard.FinishNavigationTemplate object that is contained in the Wizard.FinishNavigationTemplate property must contain two System.Web.UI.WebControls.IButtonControl controls, one with its IButtonControl.CommandName property set to "MoveComplete" and the other with its IButtonControl.CommandName property set to "MovePrevious", 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