New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

The fluent API for subscribing to the Telerik UI for ASP.NET MVC MultiColumnComboBox client events.

Definition

Constructors

Initializes a new instance of the ComboBoxEventBuilder class.

C#
public MultiColumnComboBoxEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The client events.

Methods

Defines the handler of the Cascade client-side event. Fires when the value of the component is changed through the API or user interaction.

C#
public MultiColumnComboBoxEventBuilder Cascade(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Cascade(@&lt;text&gt;
function(e) {
// Handle the Cascade event inline.
}
&lt;/text&gt;)
)
)

Defines the handler of the Cascade client-side event. Fires when the value of the component is changed through the API or user interaction.

C#
public MultiColumnComboBoxEventBuilder Cascade(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Cascade event.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Cascade("onCascade"))
)

Defines the handler of the Change client-side event. Fires when the value of the component is changed by the user. As of 2015 Q3 SP1, the cascading MultiColumnComboBox will trigger the Change event when its value changes due to the parent update.

C#
public MultiColumnComboBoxEventBuilder Change(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Change(@&lt;text&gt;
function(e) {
// Handle the Change event inline.
}
&lt;/text&gt;)
)
)

Defines the handler of the Change client-side event. Fires when the value of the component is changed by the user. As of 2015 Q3 SP1, the cascading MultiColumnComboBox will trigger the Change event when its value changes due to the parent update.

C#
public MultiColumnComboBoxEventBuilder Change(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Change event.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Change("onChange"))
)

Defines the handler of the Close client-side event. Fires when the popup of the component is closed.

C#
public MultiColumnComboBoxEventBuilder Close(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Close(@&lt;text&gt;
function(e) {
// Handle the Close event inline.
}
&lt;/text&gt;)
)
)

Defines the handler of the Close client-side event. Fires when the popup of the component is closed.

C#
public MultiColumnComboBoxEventBuilder Close(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Close event.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Close("onClose"))
)

Defines the handler of the DataBound client-side event. Fires when the component is bound to data from its DataSource.

C#
public MultiColumnComboBoxEventBuilder DataBound(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.DataBound(@&lt;text&gt;
function(e) {
// Handle the DataBound event inline.
}
&lt;/text&gt;)
)
)

Defines the handler of the DataBound client-side event. Fires when the component is bound to data from its DataSource.

C#
public MultiColumnComboBoxEventBuilder DataBound(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the DataBound event.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.DataBound("onDataBound"))
)

Defines the handler of the Filtering client-side event. Fires when the component is about to filter the DataSource..

C#
public MultiColumnComboBoxEventBuilder Filtering(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Filtering(@&lt;text&gt;
function(e) {
// Handle the Filtering event inline.
}
&lt;/text&gt;)
)
)

Defines the handler of the Filtering client-side event. Fires when the component is about to filter the DataSource.

C#
public MultiColumnComboBoxEventBuilder Filtering(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Filtering event.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Filtering("onFiltering"))
)

Defines the handler of the Open client-side event. Fires when the popup of the component is opened by the user.

C#
public MultiColumnComboBoxEventBuilder Open(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Open(@&lt;text&gt;
function(e) {
// Handle the Open event inline.
}
&lt;/text&gt;)
)
)

Defines the handler of the Open client-side event. Fires when the popup of the component is opened by the user.

C#
public MultiColumnComboBoxEventBuilder Open(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Open event.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Open("onOpen"))
)

Defines the handler of the Select client-side event. Fires when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation.

C#
public MultiColumnComboBoxEventBuilder Select(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag (Razor syntax).

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Select(@&lt;text&gt;
function(e) {
// Handle the Select event inline.
}
&lt;/text&gt;)
)
)

Defines the handler of the Select client-side event. Fires when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation.

C#
public MultiColumnComboBoxEventBuilder Select(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the Select event.

Returns:

MultiColumnComboBoxEventBuilder

Example:
C#
@(Html.Kendo().MultiColumnComboBox()
.Name("multiColumnComboBox")
.Events(events =&gt; events.Select("onSelect"))
)