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.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

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

Activate(System.Func)

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.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.Activate(@<text>
                  function()
                  {
                      // Handle the activate event inline.
                  }
                  </text>)
               )
             )
             

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.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

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

ContentLoad(System.Func)

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.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.ContentLoad(@<text>
                  function()
                  {
                      // Handle the content load event inline.
                  }
                  </text>)
               )
             )
             

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.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

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

Done(System.Func)

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.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.Done(@<text>
                  function()
                  {
                      // Handle the done event inline.
                  }
                  </text>)
               )
             )
             

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.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

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

Error(System.Func)

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.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.Error(@<text>
                  function()
                  {
                      // Handle the error event inline.
                  }
                  </text>)
               )
             )
             

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.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

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

Reset(System.Func)

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.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.Reset(@<text>
                  function()
                  {
                      // Handle the reset event inline.
                  }
                  </text>)
               )
             )
             

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.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

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

Select(System.Func)

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.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.Select(@<text>
                  function()
                  {
                      // Handle the select event inline.
                  }
                  </text>)
               )
             )
             

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.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

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

FormValidateFailed(System.Func)

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.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of WizardEventBuilder .

Example

Razor
 
            @(Html.Kendo().Wizard()
               .Name("wizard")
               .Events(events => events.FormValidateFailed(@<text>
                  function()
                  {
                      // Handle the formValidateFailed event inline.
                  }
                  </text>)
               )
             )