Export (0) Print
Expand All

Wizard.StartNavigationTemplate Property

Gets or sets the template that is used to display the navigation area on the Start step of the Wizard control.

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

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

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

public function get StartNavigationTemplate () : ITemplate

public function set StartNavigationTemplate (value : ITemplate)

Not applicable.

Property Value

An ITemplate that contains the template for displaying the navigation area on the Start for the Wizard. 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 Start step of the Wizard control. Define the content by creating a template that specifies how the navigation area is rendered on the Start step.

The custom content for the template is contained within the StartNavigationTemplate object. You can add custom content to the StartNavigationTemplate object either by using template-editing mode in design view or by defining the 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).

NoteNote:

The StartNavigationTemplate object that is contained in the StartNavigationTemplate property must contain an IButtonControl control with the CommandName property set to "MoveNext" 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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft