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

WizardStepButtonBuilder

Methods

Enabled(System.Boolean)

Specifies whether the Button in question is enabled or not.

Parameters

value - System.Boolean

The value that configures the enabled.

Example


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

Name(System.String)

Specifies the name of the Button. The default buttons have "reserved" names. That would allow additional customization of that Buttons' text and behavior.

Parameters

value - System.String

The value that configures the name.

Example


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

Primary(System.Boolean)

Specifies whether the Button will have the "k-primary" class assigned or not.

Parameters

value - System.Boolean

The value that configures the primary status.

Example


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

Text(System.String)

Specifies the text to be displayed in the Button.

Parameters

value - System.String

The value that configures the text.

Example


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

Click(System.String)

A click handler that defines the logic to be executed upon button click.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Example


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

In this article
Not finding the help you need?