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

Defines the fluent API for configuring the Kendo Stepper for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the Stepper class.

C#
public StepperEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The client events.

Example:
C#
@(Html.Kendo().Stepper()
.Name("stepper")
.Events(events =&gt; events.Select("handler"))
)

Methods

Defines the handler of the Activate client-side event. Fires when a new Step has been selected upon user interaction.

C#
public StepperEventBuilder Activate(string handler)
Parameters:handlerstring

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

Returns:

StepperEventBuilder

Example:
C#
@(Html.Kendo().Stepper()
.Name("stepper")
.Events(events =&gt; events.Activate("handler"))
)

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Stepper is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public StepperEventBuilder KendoKeydown(string handler)
Parameters:handlerstring

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

Returns:

StepperEventBuilder

Defines the handler of the Select client-side event. Fires when the user clicks on a Step to select it.

C#
public StepperEventBuilder Select(string handler)
Parameters:handlerstring

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

Returns:

StepperEventBuilder

Example:
C#
@(Html.Kendo().Stepper()
.Name("stepper")
.Events(events =&gt; events.Select("handler"))
)