MultiSelectEventBuilder
Methods
Change(System.String)
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 via the this keyword) will be set to the widget instance.
For more information see Change event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Change event.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Change(System.Func)
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 via the this keyword) will be set to the widget instance.
For more information see Change event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Close(System.String)
Defines the handler of the Close client-side event. Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Close event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Close event.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Close("close"))
)
Close(System.Func)
Defines the handler of the Close client-side event. Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Close event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Close(
@<text>
function(e) {
//event handling code
}
</text>
))
)
DataBound(System.String)
Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see DataBound event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the DataBound event.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.DataBound("dataBound"))
)
DataBound(System.Func)
Defines the handler of the DataBound client-side event. Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see DataBound event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.DataBound(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Filtering(System.String)
Defines the handler of the Filtering client-side event. Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Filtering event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Filtering event.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Filtering("filtering"))
)
Filtering(System.Func)
Defines the handler of the Filtering client-side event. Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Filtering event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Filtering(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Open(System.String)
Defines the handler of the Open client-side event. Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Open event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Open event.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Open("open"))
)
Open(System.Func)
Defines the handler of the Open client-side event. Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Open event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Open(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Select(System.String)
Defines the handler of the Select client-side event. 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.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Select("select"))
)
Select(System.Func)
Defines the handler of the Select client-side event. 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.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Select(
@<text>
function(e) {
//event handling code
}
</text>
))
)
SelectAllChange(System.String)
Defines the handler of the SelectAllChange client-side event. Fired when the user clicks the "Select all" header item or activates it via keyboard. The event is preventable — calling e.preventDefault() cancels the built-in select/deselect-all logic so the application can implement its own (for example, fetching and selecting all records from a remote data source).The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see SelectAllChange event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the SelectAllChange event.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
SelectAllChange(System.Func)
Defines the handler of the SelectAllChange client-side event. Fired when the user clicks the "Select all" header item or activates it via keyboard. The event is preventable — calling e.preventDefault() cancels the built-in select/deselect-all logic so the application can implement its own (for example, fetching and selecting all records from a remote data source).The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see SelectAllChange event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Deselect(System.String)
Defines the handler of the Deselect client-side event. Fired when an item is deselected or 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.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Deselect("deselect"))
)
Deselect(System.Func)
Defines the handler of the Deselect client-side event. Fired when an item is deselected or tag is removed.
For more information see Deselect event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
Example
@(Html.Kendo().MultiSelect()
.Name("MultiSelect")
.Events(events => events.Deselect(
@<text>
function(e) {
//event handling code
}
</text>
))
)
KendoKeydown(System.String)
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the MultiSelect 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.
RETURNS
Returns the current instance of MultiSelectEventBuilder .
KendoKeydown(System.Func)
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the MultiSelect 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.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of MultiSelectEventBuilder .