# AutoCompleteEventBuilder

## 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 through the keyword this) will be set to the widget instance.

For more information see [Change](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/change) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Change("onChange")
                )
            )
             
```

### 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 through the keyword this) will be set to the widget instance.

For more information see [Change](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/change) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Change(@<text>
                        function(ev) {
                            //event handling code
                        }
                    </text>)
                )
            )
             
```

### Close(System.String)

Defines the handler of the Close client-side event. Fired when the suggestion popup of the widget is closed by the user.The event handler function context (available through the keyword this) will be set to the widget instance.

For more information see [Close](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/close) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Close("onClose")
                )
            )
             
```

### Close(System.Func)

Defines the handler of the Close client-side event. Fired when the suggestion popup of the widget is closed by the user.The event handler function context (available through the keyword this) will be set to the widget instance.

For more information see [Close](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/close) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Close(@<text>
                        function(ev) {
                            //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 through the keyword this) will be set to the widget instance.

For more information see [DataBound](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/databound) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .DataBound("onDataBound")
                )
            )
             
```

### 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 through the keyword this) will be set to the widget instance.

For more information see [DataBound](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/databound) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .DataBound(@<text>
                        function(ev) {
                            //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 through the keyword this) will be set to the widget instance.

For more information see [Filtering](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/filtering) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Filtering("onFiltering")
                )
            )
             
```

### 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 through the keyword this) will be set to the widget instance.

For more information see [Filtering](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/filtering) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Filtering(@<text>
                        function(ev) {
                            //event handling code
                        }
                    </text>)
                )
            )
             
```

### Open(System.String)

Defines the handler of the Open client-side event. Fired when the suggestion popup of the widget is opened by the user.The event handler function context (available through the keyword this) will be set to the widget instance.

For more information see [Open](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/open) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Open("onOpen")
                )
            )
             
```

### Open(System.Func)

Defines the handler of the Open client-side event. Fired when the suggestion popup of the widget is opened by the user.The event handler function context (available through the keyword this) will be set to the widget instance.

For more information see [Open](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/open) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Open(@<text>
                        function(ev) {
                            //event handling code
                        }
                    </text>)
                )
            )
             
```

### Select(System.String)

Defines the handler of the Select client-side event. Fired when an item from the suggestion popup is selected by the user.

For more information see [Select](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/select) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Select("onSelect")
                )
            )
             
```

### Select(System.Func)

Defines the handler of the Select client-side event. Fired when an item from the suggestion popup is selected by the user.

For more information see [Select](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/select) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

#### Example

```
 
             @( Html.Kendo().AutoComplete()
                .Name("AutoComplete")
                .Events(events => events
                    .Select(@<text>
                        function(ev) {
                            //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 AutoComplete is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see [KendoKeydown](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/kendokeydown) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .

### KendoKeydown(System.Func)

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the AutoComplete is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see [KendoKeydown](https://docs.telerik.com/kendo-ui/api/ui/autocomplete/events/kendokeydown) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [AutoCompleteEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/autocompleteeventbuilder) .
