FilterEventBuilder
Methods
Change(System.String)
Defines the handler of the Change client-side event. Fired when the generated filter expression is changed.
For more information see Change event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Change event.
KendoKeydown(System.String)
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Filter is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see KendoKeydown event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the KendoKeydown event.
Change(System.Func)
Fired when the generated filter expression is changed.
For more information see Change event.
Parameters
handler - System.Func<Object,Object>
The name of the JavaScript function that will handle the change event.
Example
Razor
@(Html.Kendo().Filter()
.Name("filter")
.Events(e => e.Change(
@<text>
function(e){
event handling code
}
</text>
))
)