New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the Kendo Wizard for ASP.NET MVC.

Definition

Constructors

Initializes a new instance of the Wizard class.

C#
public WizardBuilder(Wizard component)
Parameters:componentWizard

The component.

Methods

Indicates whether the Steps in the Wizard will render their Buttons and Pager element.

C#
public WizardBuilder ActionBar(bool value)
Parameters:valuebool

The value that configures the actionbar.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.ActionBar(true)
)

The position of the Wizard step content according to the embedded Stepper widget.

C#
public WizardBuilder ContentPosition(WizardContentPosition value)
Parameters:valueWizardContentPosition

The value that configures the contentposition.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.ContentPosition(WizardContentPosition.Right)
)

Configures the client-side events.

C#
public WizardBuilder Events(Action<WizardEventBuilder> configurator)
Parameters:configuratorAction<WizardEventBuilder>

The client events action.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("Wizard")
.Events(events =&gt; events
.Activate("onActivate")
)
)

Indicates whether the step content will be loaded on demand when a given step is selected. Applicable when the step configuration has "contentUrl" set.

C#
public WizardBuilder LoadOnDemand(bool value)
Parameters:valuebool

The value that configures the loadondemand.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.LoadOnDemand(true)
)

Provides configuration options for the messages present in the Wizard widget.

C#
public WizardBuilder Messages(Action<WizardMessagesSettingsBuilder> configurator)
Parameters:configuratorAction<WizardMessagesSettingsBuilder>

The action that configures the messages.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.Messages(messages =&gt; messages.Done("Completed"))
)

Indicates whether the Steps in the Wizard will render their Pager element.

C#
public WizardBuilder Pager(bool value)
Parameters:valuebool

The value that configures the pager.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.Pager(true)
)

Indicates whether the step content will be reloaded on each navigation to given step. Applicable when the step configuration has "contentUrl" set.

C#
public WizardBuilder ReloadOnSelect(bool value)
Parameters:valuebool

The value that configures the reloadonselect.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.ReloadOnSelect(true)
)

Provides configuration options for the Stepper instance of the Wizard widget.

C#
public WizardBuilder Stepper(Action<WizardStepperSettingsBuilder> configurator)
Parameters:configuratorAction<WizardStepperSettingsBuilder>

The action that configures the stepper.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.Stepper(stepper =&gt; stepper.Label(true))
)

Array of steps to be rendered in the Wizard.

C#
public WizardBuilder Steps(Action<WizardStepFactory> configurator)
Parameters:configuratorAction<WizardStepFactory>

The action that configures the steps.

Returns:

WizardBuilder

Allow rendering of form element instead of the default div.

C#
public WizardBuilder Tag(string tagName)
Parameters:tagNamestring

The tag that will be rendered as for the Wizard widget

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.Tag("form")
)

Indicates whether the Wizard will automatically validate any Kendo Form configured for a Step. Validation will be executed upon Step navigation.

C#
public WizardBuilder ValidateForms(Action<WizardValidateFormsSettingsBuilder> configurator)
Parameters:configuratorAction<WizardValidateFormsSettingsBuilder>

The action that configures the validateforms.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.ValidateForms(forms =&gt; forms.ValidateOnPrevious(true))
)

Indicates whether the Wizard will automatically validate any Kendo Form configured for a Step. Validation will be executed upon Step navigation.

C#
public WizardBuilder ValidateForms(bool enabled)
Parameters:enabledbool

Enables or disables the validateforms option.

Returns:

WizardBuilder

Example:
C#
@(Html.Kendo().Wizard()
.Name("wizard")
.ValidateForms(true)
)