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"))
)
Activate(System.Func)
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.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Events(events => events.Activate(@<text>
function()
{
// Handle the activate event inline.
}
</text>)
)
)
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"))
)
ContentLoad(System.Func)
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.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Events(events => events.ContentLoad(@<text>
function()
{
// Handle the content load event inline.
}
</text>)
)
)
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"))
)
Done(System.Func)
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.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Events(events => events.Done(@<text>
function()
{
// Handle the done event inline.
}
</text>)
)
)
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"))
)
Error(System.Func)
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.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Events(events => events.Error(@<text>
function()
{
// Handle the error event inline.
}
</text>)
)
)
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"))
)
Reset(System.Func)
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.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Events(events => events.Reset(@<text>
function()
{
// Handle the reset event inline.
}
</text>)
)
)
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"))
)
Select(System.Func)
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.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Events(events => events.Select(@<text>
function()
{
// Handle the select event inline.
}
</text>)
)
)
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"))
)
FormValidateFailed(System.Func)
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.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Events(events => events.FormValidateFailed(@<text>
function()
{
// Handle the formValidateFailed event inline.
}
</text>)
)
)