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

PopoverActionBuilder

Methods

Click(System.Func)

A handler function to be called when the action button is clicked

Parameters

handler - System.Func<Object,Object>

The value that configures the click action.

Example

 ))
            )

Click(System.String)

A handler function to be called when the action button is clicked

Parameters

handler - System.String

The value that configures the click action.

Example


            @(Html.Kendo().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Position(PopoverPosition.Right)
                    .ShowOn(PopoverShowOn.Click)
                    .Actions(action => action.Click("onActionClick"))
            )

Icon(System.String)

The name of the icon to display inside the button.

Parameters

value - System.String

The value that configures the icon.

Example


            @(Html.Kendo().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Position(PopoverPosition.Right)
                    .ShowOn(PopoverShowOn.Click)
                    .Actions(action => action.Icon("user"))
            )

IconClass(System.String)

The CSS class that will be added to the icon element inside the button.

Parameters

value - System.String

The value that configures the iconclass.

Example


            @(Html.Kendo().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Position(PopoverPosition.Right)
                    .ShowOn(PopoverShowOn.Click)
                    .Actions(action => action.Add().IconClass("refresh-icon"))
            )

Text(System.String)

The text displayed in the action button

Parameters

value - System.String

The value that configures the text.

Example


            @(Html.Kendo().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Position(PopoverPosition.Right)
                    .ShowOn(PopoverShowOn.Click)
                    .Actions(action => action.Add().Text("Add"))
            )

In this article
Not finding the help you need?