WizardStepBuilderGeneric

Properties

Container - WizardStepGeneric

Methods

Buttons(System.Action)

Allows configuration of the buttons to be rendered on each step. If the array contains strings, those values will be taken as Buttons names. If the array contains objects, those will be used when initializing the actual Button instances on each step.

Parameters

configurator - System.Action<WizardStepButtonFactory>

The configurator for the buttons setting.

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Steps(steps =>
               {
                   steps.Add().Title("Welcome")
                   .Buttons(b =>
                   {
                       b.Next();
                   });
               })
             )
             

Content(System.String)

Specifies the HTML string content to be rendered in the step.

Parameters

value - System.String

The value for Content

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Steps(steps =>
               {
                   steps.Add().Title("Welcome").Content("Some Content");
               })
             )
             

Content(System.Func)

Sets the HTML content which the item should display.

Parameters

value - System.Func<Object,Object>

The content wrapped in a regular HTML tag or text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Wizard()
                  .Name("wizard")
                  .Steps(steps => steps
                           .Add()
                           .Content(
                                @<text>
                                        Some text
                                        <strong> First Item Content</strong>
                                </text>
                           );
                  )
             )
             

ContentId(System.String)

Specifies the id of a DOM element, which content to be used as a content of the current step.

Parameters

value - System.String

The value for ContentId

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Steps(steps =>
               {
                   steps.Add().Title("Welcome").ContentId("content");
               })
             )
             

ContentUrl(System.String)

Specifies an endpoint which the step content should be loaded from.

Parameters

value - System.String

The value for ContentUrl

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

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

ClassName(System.String)

Specifies a custom class that will be set on the step container element.

Parameters

value - System.String

The value for CustomClass

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Steps(steps =>
               {
                   steps.Add().Title("Welcome").ClassName("myClass");
               })
             )
             

Enabled(System.Boolean)

Specifies whether the step is enabled or not.

Parameters

value - System.Boolean

The value for Enabled

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Steps(steps =>
               {
                   steps.Add().Title("Welcome").Enabled(true);
               })
             )
             

Icon(System.String)

Specifies the Stepper's step icon.

Parameters

value - System.String

The value that configures the icon.

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

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

IconTemplate(System.String)

Specifies the Stepper's step iconTemplate.

Parameters

value - System.String

The value that configures the iconTemplate.

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Steps(steps =>
               {
                   steps.Add().IconTemplate("<i @class='k-icon k-i-home'></i>").ContentUrl(Url.Content("~/shared/web/wizard/ajax/ajaxContent1.html")).Title("Welcome")
                   .Buttons(b =>
                   {
                       b.Next();
                   });
               })
             )
             

IconTemplateId(System.String)

Specifies the Stepper's step iconTemplateId.

Parameters

value - System.String

The value that configures the iconTemplateId.

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

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

Pager(System.Boolean)

Specifies whether the pager will be rendered on the current step or not.

Parameters

value - System.Boolean

The value for Pager

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Steps(steps =>
               {
                   steps.Add().Pager(true);
               })
             )
             

Title(System.String)

Specifies a title of the current step.

Parameters

value - System.String

The value for Title

RETURNS

Returns the current WizardStepBuilderGeneric instance.

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Steps(steps =>
               {
                   steps.Add().Title("My Title");
               })
             )
             

Form(System.Action)

Configures the built-in form to be rendered in the step.

Parameters

configurator - System.Action<FormBuilder>

The configurator for the Form

RETURNS

Returns the current WizardStepBuilderGeneric instance.