# TooltipEventBuilder

## Methods

### ContentLoad(System.String)

Defines the handler of the ContentLoad client-side event. Fires when an AJAX request for the content completes.

For more information see [ContentLoad](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/contentload) event.

#### Parameters

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

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

#### RETURNS

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

#### Example

```
 
            @(Html.Kendo().Tooltip()
                        .For("#element")
                        .Events(events => events.ContentLoad("contentLoad"))
            )
             
```

### ContentLoad(System.Func)

Defines the handler of the ContentLoad client-side event. Fires when an AJAX request for the content completes.

For more information see [ContentLoad](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/contentload) event.

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Tooltip()
                       .For("#element")
                       .Events(events => events.ContentLoad(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
             )
             
```

### Show(System.String)

Defines the handler of the Show client-side event. Fires when a Tooltip is shown.

For more information see [Show](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/show) event.

#### Parameters

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

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

#### RETURNS

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

#### Example

```
 
            @(Html.Kendo().Tooltip()
                        .For("#element")
                        .Events(events => events.Show("show"))
            )
             
```

### Show(System.Func)

Defines the handler of the Show client-side event. Fires when a Tooltip is shown.

For more information see [Show](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/show) event.

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Tooltip()
                       .For("#element")
                       .Events(events => events.Show(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
             )
             
```

### Hide(System.String)

Defines the handler of the Hide client-side event. Fires when a Tooltip is hidden.

For more information see [Hide](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/hide) event.

#### Parameters

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

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

#### RETURNS

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

#### Example

```
 
            @(Html.Kendo().Tooltip()
                        .For("#element")
                        .Events(events => events.Hide("hide"))
            )
             
```

### Hide(System.Func)

Defines the handler of the Hide client-side event. Fires when a Tooltip is hidden.

For more information see [Hide](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/hide) event.

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Tooltip()
                       .For("#element")
                       .Events(events => events.Hide(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
             )
             
```

### RequestStart(System.String)

Defines the handler of the RequestStart client-side event. Fires before an AJAX request starts. Note that this event is triggered only when an AJAX request is used instead of an iframe.

For more information see [RequestStart](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/requeststart) event.

#### Parameters

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

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

#### RETURNS

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

#### Example

```
 
            @(Html.Kendo().Tooltip()
                        .For("#element")
                        .Events(events => events.RequestStart("requestStart"))
            )
             
```

### RequestStart(System.Func)

Defines the handler of the RequestStart client-side event. Fires before an AJAX request starts. Note that this event is triggered only when an AJAX request is used instead of an iframe.

For more information see [RequestStart](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/requeststart) event.

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Tooltip()
                       .For("#element")
                       .Events(events => events.RequestStart(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
             )
             
```

### Error(System.String)

Defines the handler of the Error client-side event. Fires when an AJAX request for content fails.

For more information see [Error](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/error) event.

#### Parameters

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

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

#### RETURNS

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

#### Example

```
 
            @(Html.Kendo().Tooltip()
                        .For("#element")
                        .Events(events => events.Error("error"))
            )
             
```

### Error(System.Func)

Defines the handler of the Error client-side event. Fires when an AJAX request for content fails.

For more information see [Error](https://docs.telerik.com/kendo-ui/api/ui/tooltip/events/error) event.

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Tooltip()
                       .For("#element")
                       .Events(events => events.Error(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
             )
             
```
