PopoverActionBuilder

Methods

Click(System.String)

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

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current PopoverActionBuilder instance.

Click(System.Func)

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

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current PopoverActionBuilder instance.

Icon(System.String)

The name of the icon to display inside the button.

Parameters

value - System.String

The value for Icon

RETURNS

Returns the current PopoverActionBuilder instance.

Example

Razor
 
            @(Html.Kendo().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Actions(action => action.Add().Text("Ok").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 for IconClass

RETURNS

Returns the current PopoverActionBuilder instance.

Example

Razor
 
            @(Html.Kendo().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Actions(action => action.Add().Text("Ok").IconClass("refresh-icon"))
            )
             

Text(System.String)

The text displayed in the action button

Parameters

value - System.String

The value for Text

RETURNS

Returns the current PopoverActionBuilder instance.

Example

Razor
 
            @(Html.Kendo().Popover()
                    .For("#calendar")
                    .Filter("td a")
                    .Actions(action => action.Add().Text("Add"))
            )