New to Telerik UI for ASP.NET Core? Download free 30-day trial

WizardBuilder

Properties

WriteAction - Func

Methods

Steps(System.Action)

Array of steps to be rendered in the Wizard.

Parameters

configurator - System.Action<WizardStepFactory>

The configurator for the steps setting.

Example


            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Steps(steps =>
               {
                   steps.Add().ContentUrl(Url.Content("~/shared/web/wizard/ajax/ajaxContent1.html")).Title("Welcome")
                   .Buttons(b =>
                   {
                       b.Next();
                   });
               })
             )

Tag(System.String)

The tag that will be rendered. Defaults to "div". Could be test to "form" to act as a form element.

Parameters

value - System.String

The value for Tag

Example


            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Tag("div")
             )

ActionBar(System.Boolean)

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

Parameters

value - System.Boolean

The value for ActionBar

LoadOnDemand(System.Boolean)

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

Parameters

value - System.Boolean

The value for LoadOnDemand

LoadOnDemand()

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

Messages(System.Action)

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

Parameters

configurator - System.Action<WizardMessagesSettingsBuilder>

The configurator for the messages setting.

Pager(System.Boolean)

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

Parameters

value - System.Boolean

The value for Pager

ReloadOnSelect(System.Boolean)

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

Parameters

value - System.Boolean

The value for ReloadOnSelect

Stepper(System.Action)

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

Parameters

configurator - System.Action<WizardStepperSettingsBuilder>

The configurator for the stepper setting.

ValidateForms(System.Action)

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

Parameters

configurator - System.Action<WizardValidateFormsSettingsBuilder>

The configurator for the validateforms setting.

ValidateForms(System.Boolean)

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

Parameters

enabled - System.Boolean

Enables or disables the validateforms option.

ContentPosition(Kendo.Mvc.UI.WizardContentPosition)

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

Parameters

value - WizardContentPosition

The value for ContentPosition

Events(System.Action)

Configures the client-side events.

Parameters

configurator - System.Action<WizardEventBuilder>

The client events action.

Example


            @(Html.Kendo().Wizard()
                  .Name("Wizard")
                  .Events(events => events
                      .Activate("onActivate")
                  )
            )

ToComponent()

Returns the internal view component.

Expression(System.String)

Sets the name of the component.

Parameters

modelExpression - System.String

Explorer(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer)

Sets the name of the component.

Parameters

modelExplorer - Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer

Name(System.String)

Sets the name of the component.

Parameters

componentName - System.String

The name.

Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with

Parameters

deferred - System.Boolean

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

Parameters

attributes - System.Collections.Generic.IDictionary<String,Object>

The HTML attributes.

Render()

Renders the component in place.

ToHtmlString()

WriteTo(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)

Parameters

writer - System.IO.TextWriter
encoder - System.Text.Encodings.Web.HtmlEncoder

ToClientTemplate()

AsChildComponent()

Configures the widget as a child component.

In this article
Not finding the help you need?