New to Telerik UI for ASP.NET MVC? Start a free 30-day trial
Events
The Telerik UI Chart Wizard for ASP.NET MVC exposes multiple events like Change
, Open
, Close
, and more, that allow you to control the behavior of the UI component.
For a complete example on basic Chart Wizard events, refer to the demo on using the events of the Chart Wizard.
Handling by Handler Name
The following example demonstrates how to subscribe to events by a handler name.
Razor
@(Html.Kendo().ChartWizard<Product>()
.Name("chartWizard")
.Events(ev => ev.Change("onChange"))
... //Additional configuration
)
Handling by Template Delegate
The following example demonstrates how to subscribe to events by a template delegate.
Razor
@(Html.Kendo().ChartWizard<Product>()
.Name("chartWizard")
.Events(e => e.Change(@<text>
function() {
// Handle the Chart Wizard Change event inline.
}
</text>)
)
... //Additional configuration
)