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

Kendo.Mvc.UI.Fluent.PopoverBuilder

Defines the fluent API for configuring the Kendo Popover for ASP.NET MVC.

Methods

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

An array of the action buttons

Parameters

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

The action that configures the actions.

Body(System.String)

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

Parameters

value System.String

The value that configures the body.

Header(System.String)

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

Parameters

value System.String

The value that configures the header.

Height(System.Double)

The height (in pixels) of the Popover.

Parameters

value System.Double

The value that configures the 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 that configures the toggleonclick.

Width(System.Double)

The width (in pixels) of the Popover.

Parameters

value System.Double

The value that configures the 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 that configures the offset.

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")
    )
%>

Filter(System.String)

The selector which to match target child elements for which the Popover will be shown

Parameters

selector System.String

jQuery selector

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.

ActionsLayout(Kendo.Mvc.UI.PopoverActionLayout)

Defines how the actions buttons will be positioned

Parameters

value Kendo.Mvc.UI.PopoverActionLayout

The value for ActionLayout

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

For(System.String)

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

Parameters

selector System.String

jQuery selector

In this article
Not finding the help you need?