SortableEventBuilder
Methods
Start(System.Func)
Defines the inline handler of the Start client-side event
For more information see Start event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.Start(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Start(System.String)
Defines the name of the JavaScript function that will handle the the Start client-side event.
For more information see Start event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.Start("start"))
)
Move(System.Func)
Defines the inline handler of the Move client-side event
For more information see Move event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.Move(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Move(System.String)
Defines the name of the JavaScript function that will handle the the Move client-side event.
For more information see Move event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.Move("move"))
)
End(System.Func)
Defines the inline handler of the End client-side event
For more information see End event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.End(
@<text>
function(e) {
//event handling code
}
</text>
))
)
End(System.String)
Defines the name of the JavaScript function that will handle the the End client-side event.
For more information see End event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.End("end"))
)
Change(System.Func)
Defines the inline handler of the Change client-side event
For more information see Change event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.Change(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Change(System.String)
Defines the name of the JavaScript function that will handle the the Change client-side event.
For more information see Change event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.Change("change"))
)
Cancel(System.Func)
Defines the inline handler of the Cancel client-side event
For more information see Cancel event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.Cancel(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Cancel(System.String)
Defines the name of the JavaScript function that will handle the the Cancel client-side event.
For more information see Cancel event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@(Html.Kendo().Sortable()
.For("#element")
.Events(events => events.Cancel("cancel"))
)