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

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

Definition

Constructors

Initializes a new instance of the TextArea class.

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

The client events.

Methods

Defines the handler of the Change client-side event. Fired when the value of the widget is changed by the user.The event handler function context (available through the keyword this) will be set to the widget instance.

C#
public TextAreaEventBuilder Change(string handler)
Parameters:handlerstring

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

Returns:

TextAreaEventBuilder

Example:
C#
@(Html.Kendo().TextArea()
.Name("TextArea")
.Events(events =&gt; events.Change("onChange"))
)