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

PopoverActionBuilder

Methods

Click(System.String)

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

Parameters

value - System.String

The value that configures the click.

Example


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

IconClass(System.String)

The CSS class that will be used to display the icon 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?