# DropDownButtonEventBuilder

## Methods

### Click(System.String)

Defines the handler of the Click client-side event. Fires when the DropDownButton or any if its items is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the DropDownButton or an item is focused.

For more information see [Click](https://docs.telerik.com/kendo-ui/api/ui/dropdownbutton/events/click) event.

#### Parameters

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

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

#### RETURNS

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

#### Example

```
 
                @(Html.Kendo().DropDownButton()
                  .Name("dropdownbutton")
                  .Events(events => events.Click("onClick"))
                )
             
```

### Click(System.Func)

Defines the handler of the Click client-side event. Fires when the DropDownButton or any if its items is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the DropDownButton or an item is focused.

For more information see [Click](https://docs.telerik.com/kendo-ui/api/ui/dropdownbutton/events/click) event.

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

#### Example

```
 
                @(Html.Kendo().DropDownButton()
                  .Name("dropdownbutton")
                  .Events(events => events.Click(
                                @%lt;text>
                                function() {
                                    // Handle event.
                                }
                                </text>
                        )
                   )
                )
             
```

### Open(System.String)

Defines the handler of the Open client-side event. Fires when the menu button is opened.

For more information see [Open](https://docs.telerik.com/kendo-ui/api/ui/dropdownbutton/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 [DropDownButtonEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownbuttoneventbuilder) .

#### Example

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

### Open(System.Func)

Defines the handler of the Open client-side event. Fires when the menu button is opened.

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

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

#### Example

```
 
                @(Html.Kendo().DropDownButton()
                  .Name("dropdownbutton")
                  .Events(events => events.Open(
                                @%lt;text>
                                function() {
                                    // Handle event.
                                }
                                </text>
                        )
                   )
                )
             
```

### Close(System.String)

Defines the handler of the Close client-side event. Fires when the menu button is closed.

For more information see [Close](https://docs.telerik.com/kendo-ui/api/ui/dropdownbutton/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 [DropDownButtonEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/dropdownbuttoneventbuilder) .

#### Example

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

### Close(System.Func)

Defines the handler of the Close client-side event. Fires when the menu button is closed.

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

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

#### Example

```
 
                @(Html.Kendo().DropDownButton()
                  .Name("dropdownbutton")
                  .Events(events => events.Close(
                                @%lt;text>
                                function() {
                                    // Handle event.
                                }
                                </text>
                        )
                   )
                )
             
```
