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

PopoverEventBuilder

Methods

Show(System.String)

Fires when a Popover 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().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Position(PopoverPosition.Right)
                    .Events(e => e.Show("onShow"))
            )

Show(System.Func)

Fires when a Popover 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().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Position(PopoverPosition.Right)
                    .Events(events => events.Show(@<text>
                      function(e) {
                        // Handle the Show event inline.
                      }
                  </text>)
                )
            )

Hide(System.String)

Fires when a Popover 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().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Position(PopoverPosition.Right)
                    .Events(e => e.Hide("onHide"))
            )

Hide(System.Func)

Fires when a Popover 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().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Position(PopoverPosition.Right)
                    .Events(events => events.Hide(@<text>
                      function(e) {
                        // Handle the Hide event inline.
                      }
                  </text>)
                )
            )

In this article
Not finding the help you need?