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

PopoverBuilder

Defines the fluent API for configuring the Kendo UI Popover

Properties

WriteAction - Func

Methods

Animation(System.Boolean)

Configures the animation effects of the popover.

Parameters

enable - System.Boolean

Animation(System.Action)

Configures the animation effects of the popover.

Parameters

animationAction - System.Action<PopupAnimationBuilder>

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)

An array of the action buttons

Parameters

configurator - System.Action<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)

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

Parameters

handler - System.Func<Object,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)

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

Parameters

handler - System.Func<Object,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 - 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 - PopoverPosition

The value for Position

ShowOn(Kendo.Mvc.UI.PopoverShowOn)

Defines when the Popover will be shown.

Parameters

value - PopoverShowOn

The value for ShowOn

Events(System.Action)

Configures the client-side events.

Parameters

configurator - System.Action<PopoverEventBuilder>

The client events action.

Example


            @(Html.Kendo().Popover()
                  .Name("Popover")
                  .Events(events => events
                      .Show("onShow")
                  )
            )

ToComponent()

Returns the internal view component.

Expression(System.String)

Sets the name of the component.

Parameters

modelExpression - System.String

Explorer(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer)

Sets the name of the component.

Parameters

modelExplorer - Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer

Name(System.String)

Sets the name of the component.

Parameters

componentName - System.String

The name.

Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with

Parameters

deferred - System.Boolean

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

Parameters

attributes - System.Collections.Generic.IDictionary<String,Object>

The HTML attributes.

Render()

Renders the component in place.

ToHtmlString()

WriteTo(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)

Parameters

writer - System.IO.TextWriter
encoder - System.Text.Encodings.Web.HtmlEncoder

ToClientTemplate()

In this article
Not finding the help you need?