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

WizardEventBuilder

Methods

Activate(System.String)

Fires when a new step has been selected upon user interaction.

For more information see Activate event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the activate event.

Example


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

ContentLoad(System.String)

Triggered when content is fetched from an AJAX request and has been loaded.

For more information see ContentLoad event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the contentLoad event.

Example


            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.ContentLoad("onContentLoad"))
             )

Done(System.String)

Triggered when the "Done" action Button has been clicked

For more information see Done event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the done event.

Example


            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.Done("onDone"))
             )

Error(System.String)

Triggered when an attempt to fetch step content with an AJAX request fails. The event will be fired only when the user clicks on the Previous or Next button, or navigates to another step using the Stepper. It will not be fired if the remote request is raised as a result of a Step.load() method call.

For more information see Error event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the error event.

Example


            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.Error("onError"))
             )

Reset(System.String)

Triggered when the "Reset" action Button has been clicked

For more information see Reset event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the reset event.

Example


            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.Reset("onReset"))
             )

Select(System.String)

Fires when the user clicks on the Stepper or clicks on "Previous"/"Next" action Buttons to select another step.

For more information see Select event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the select event.

Example


            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.Select("onSelect"))
             )

FormValidateFailed(System.String)

Fired when the validateForms configuration option is set to true (default), and the validation of the Kendo UI Form on the current Wizard step fails when the user tries to navigate to another step.

For more information see FormValidateFailed event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the formValidateFailed event.

Example


            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.FormValidateFailed("onFormValidateFailed"))
             )

In this article
Not finding the help you need?