Export (0) Print
Expand All
0 out of 4 rated this helpful - Rate this topic

Wizard.StepNavigationTemplate Property

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

Gets or sets the template that is used to display the navigation area on any WizardStepBase-derived objects other than the Start, the Finish, or Complete step.

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

[TemplateContainerAttribute(typeof(Wizard))] 
public virtual ITemplate StepNavigationTemplate { get; set; }
/** @property */
public ITemplate get_StepNavigationTemplate ()

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

public function get StepNavigationTemplate () : ITemplate

public function set StepNavigationTemplate (value : ITemplate)

Property Value

An ITemplate that contains the template for displaying the navigation area on any WizardStepBase-derived objects of the Wizard control other than the Start, Finish, or Complete. The default is a null reference (Nothing in Visual Basic).

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

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

NoteNote

The StepNavigationTemplate object that is contained in the StepNavigationTemplate property must contain two IButtonControl controls, one with its CommandName property set to "MoveNext" and one with its CommandName property set to "MovePrevious", to enable the navigation feature.

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.