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

Kendo.Mvc.UI.Fluent.PopoverBuilder

Defines the fluent API for configuring the Kendo UI Popover

Methods

Animation(System.Boolean)

Configures the animation effects of the popover.

Animation(System.Action<Kendo.Mvc.UI.Fluent.PopupAnimationBuilder>)

Configures the animation effects of the popover.

For(System.String)

The selector which to match the DOM element to which the Popover widget will be instantiated

Parameters

selector System.String

jQuery selector

Actions(System.Action<Kendo.Mvc.UI.Fluent.PopoverActionFactory>)

An array of the action buttons

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.PopoverActionFactory>

The configurator for the actions setting.

Body(System.String)

Defines a kendo template the will be used as the card body inside the popover component.

Parameters

value System.String

The value for Body

BodyHandler(System.String)

Defines a kendo template the will be used as the card body inside the popover component.

Parameters

handler System.String

The name of the JavaScript function that will be evaluated.

BodyHandler(System.Func<System.Object,System.Object>)

Defines a kendo template the will be used as the card body inside the popover component.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Filter(System.String)

Specifies a selector for the elements within the container which will display the Popover.

Parameters

value System.String

The value for Filter

Header(System.String)

Defines a kendo template the will be used as the card header inside the popover component.

Parameters

value System.String

The value for Header

HeaderHandler(System.String)

Defines a kendo template the will be used as the card header inside the popover component.

Parameters

handler System.String

The name of the JavaScript function that will be evaluated.

HeaderHandler(System.Func<System.Object,System.Object>)

Defines a kendo template the will be used as the card header inside the popover component.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Height(System.Double)

The height (in pixels) of the Popover.

Parameters

value System.Double

The value for Height

ToggleOnClick(System.Boolean)

Defines a value indicating whether the popover will show/hide only when clicking on the target element.

Parameters

value System.Boolean

The value for ToggleOnClick

ToggleOnClick

Defines a value indicating whether the popover will show/hide only when clicking on the target element.

Width(System.Double)

The width (in pixels) of the Popover.

Parameters

value System.Double

The value for Width

Offset(System.Double)

Specifies the offset (in pixels) between the Popover and the anchor. Тhe offset is rendered from the callout arrow.

Parameters

value System.Double

The value for Offset

ActionsLayout(Kendo.Mvc.UI.PopoverActionsLayout)

Defines how the actions buttons will be positioned

Parameters

value Kendo.Mvc.UI.PopoverActionsLayout

The value for ActionsLayout

Position(Kendo.Mvc.UI.PopoverPosition)

The position that is relative to the target element at which the Popover will be shown.

Parameters

value Kendo.Mvc.UI.PopoverPosition

The value for Position

ShowOn(Kendo.Mvc.UI.PopoverShowOn)

Defines when the Popover will be shown.

Parameters

value Kendo.Mvc.UI.PopoverShowOn

The value for ShowOn

Events(System.Action<Kendo.Mvc.UI.Fluent.PopoverEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.PopoverEventBuilder>

The client events action.

Example (ASPX)

@(Html.Kendo().Popover()
    .Name("Popover")
    .Events(events => events
        .Show("onShow")
    )
)
In this article
Not finding the help you need?