New to Telerik UI for ASP.NET Core? Download free 30-day trial

TooltipEventBuilder

Methods

ContentLoad(System.String)

Fires when an AJAX request for the content completes.

For more information see ContentLoad event.

Parameters

handler - System.String

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

Example


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

ContentLoad(System.Func)

Fires when an AJAX request for the content completes.

For more information see ContentLoad event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

Show(System.String)

Fires when a Tooltip is shown.

For more information see Show event.

Parameters

handler - System.String

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

Example


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

Show(System.Func)

Fires when a Tooltip is shown.

For more information see Show event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

Hide(System.String)

Fires when a Tooltip is hidden.

For more information see Hide event.

Parameters

handler - System.String

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

Example


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

Hide(System.Func)

Fires when a Tooltip is hidden.

For more information see Hide event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

RequestStart(System.String)

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 event.

Parameters

handler - System.String

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

Example


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

RequestStart(System.Func)

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 event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

Error(System.String)

Fires when an AJAX request for content fails.

For more information see Error event.

Parameters

handler - System.String

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

Example


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

Error(System.Func)

Fires when an AJAX request for content fails.

For more information see Error event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

In this article
Not finding the help you need?