New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the Telerik UI PopOver for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the Popover class.

C#
public PopoverEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The client events.

Methods

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

C#
public PopoverEventBuilder Hide(string handler)
Parameters:handlerstring

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

Returns:

PopoverEventBuilder

Example:
C#
@(Html.Kendo().Popover()
.For("#calendar")
.Filter("td a")
.Events(e =&gt; e.Hide("onHide"))
)

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

C#
public PopoverEventBuilder Show(string handler)
Parameters:handlerstring

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

Returns:

PopoverEventBuilder

Example:
C#
@(Html.Kendo().Popover()
.For("#calendar")
.Filter("td a")
.Events(e =&gt; e.Show("onShow"))
)