MultiSelectEventBuilder
Methods
Change(System.String)
Fired when the value of the component is changed by the user.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see Change event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the change event.
Change(System.Func)
Fired when the value of the component is changed by the user.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see Change event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Close(System.String)
Fired when the popup of the component is closed.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see Close event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the close event.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Close("close"))
)
Close(System.Func)
Fired when the popup of the component is closed.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see Close event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Close(
@<text>
function(e) {
//event handling code
}
</text>
))
)
DataBound(System.String)
Fired when the component is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see DataBound event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the dataBound event.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.DataBound("dataBound"))
)
DataBound(System.Func)
Fired when the component is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see DataBound event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.DataBound(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Filtering(System.String)
Fired when the component is about to filter the data source.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see Filtering event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the filtering event.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Filtering("filtering"))
)
Filtering(System.Func)
Fired when the component is about to filter the data source.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see Filtering event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Filtering(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Open(System.String)
Fired when the popup of the component is opened by the user.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see Open event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the open event.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Open("open"))
)
Open(System.Func)
Fired when the popup of the component is opened by the user.The event handler function context (available via the this keyword) will be set to the component instance.
For more information see Open event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Open(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Select(System.String)
Fired when an item from the popup is selected by the user.
For more information see Select event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the select event.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Select("select"))
)
Select(System.Func)
Fired when an item from the popup is selected by the user.
For more information see Select event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Select(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Deselect(System.String)
Fired when an item is deselected or a tag is removed.
For more information see Deselect event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the deselect event.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Deselect("deselect"))
)
Deselect(System.Func)
Fired when an item is deselected or a tag is removed.
For more information see Deselect event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Deselect(
@<text>
function(e) {
//event handling code
}
</text>
))
)