WizardEventBuilder

Methods

Activate(System.String)

Defines the handler of the Activate client-side event. 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

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

ContentLoad(System.String)

Defines the handler of the ContentLoad client-side event. 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

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

Done(System.String)

Defines the handler of the Done client-side event. 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

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

Error(System.String)

Defines the handler of the Error client-side event. 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

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

Reset(System.String)

Defines the handler of the Reset client-side event. 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

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

Select(System.String)

Defines the handler of the Select client-side event. 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

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

FormValidateFailed(System.String)

Defines the handler of the FormValidateFailed client-side event. 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

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