Kendo.Mvc.UI.Fluent.EditorEventBuilder
Defines the fluent interface for configuring the Editor events.
Methods
Change(System.String)
Defines the name of the JavaScript function that will handle the the Change client-side event.
For additional information check the change event documentation.
Parameters
handler System.String
The name of the JavaScript function that will handle the event.
Example (ASPX)
<%= Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.Change("onChange"))
%>
Change(System.Func<System.Object,System.Object>)
Defines the inline handler of the Change client-side event
For additional information check the change event documentation.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag (Razor syntax).
Example (ASPX)
<% Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.Change(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
%>
Execute(System.String)
Defines the name of the JavaScript function that will handle the the Execute client-side event.
For additional information check the execute event documentation.
Parameters
handler System.String
The name of the JavaScript function that will handle the event.
Example (ASPX)
<%= Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.Execute("onExecute"))
%>
Execute(System.Func<System.Object,System.Object>)
Defines the inline handler of the Execute client-side event
For additional information check the execute event documentation.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag (Razor syntax).
Example (ASPX)
<% Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.Execute(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
%>
Paste(System.String)
Defines the name of the JavaScript function that will handle the the Paste client-side event.
For additional information check the paste event documentation.
Parameters
handler System.String
The name of the JavaScript function that will handle the event.
Example (ASPX)
<%= Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.Paste("onPaste"))
%>
Paste(System.Func<System.Object,System.Object>)
Defines the inline handler of the Paste client-side event
For additional information check the paste event documentation.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag (Razor syntax).
Example (ASPX)
<% Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.Paste(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
%>
Select(System.String)
Defines the name of the JavaScript function that will handle the the Select client-side event.
For additional information check the select event documentation.
Parameters
handler System.String
The name of the JavaScript function that will handle the event.
Example (ASPX)
<%= Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.Select("onSelect"))
%>
Select(System.Func<System.Object,System.Object>)
Defines the inline handler of the Select client-side event
For additional information check the select event documentation.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag (Razor syntax).
Example (ASPX)
<% Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.Select(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
%>
KeyUp(System.String)
Defines the name of the JavaScript function that will handle the the KeyUp client-side event.
For additional information check the keyUp event documentation.
Parameters
handler System.String
The name of the JavaScript function that will handle the event.
Example (ASPX)
<%= Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.KeyUp("onKeyUp"))
%>
KeyUp(System.Func<System.Object,System.Object>)
Defines the inline handler of the KeyUp client-side event
For additional information check the keyUp event documentation.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag (Razor syntax).
Example (ASPX)
<% Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.KeyUp(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
%>
KeyDown(System.String)
Defines the name of the JavaScript function that will handle the the KeyDown client-side event.
For additional information check the keyDown event documentation.
Parameters
handler System.String
The name of the JavaScript function that will handle the event.
Example (ASPX)
<%= Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.KeyDown("onKeyDown"))
%>
KeyDown(System.Func<System.Object,System.Object>)
Defines the inline handler of the KeyDown client-side event
For additional information check the keyDown event documentation.
Parameters
handler System.Func<System.Object,System.Object>
The handler code wrapped in a text tag (Razor syntax).
Example (ASPX)
<% Html.Kendo().Editor()
.Name("Editor")
.Events(events => events.KeyDown(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
%>