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

DropDownButtonItemBuilder

Methods

HtmlAttributes(System.Object)

Adds custom attributes to the LI element of the menu button.

Parameters

value - System.Object

The value that configures the htmlattributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Adds custom attributes to the LI element of the menu button.

Parameters

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

The value that configures the htmlattributes.

Click(System.String)

Adds unique click callback for the menu item.

Parameters

value - System.String

The value that configures the click.

Data(System.String)

Adds a custom data callback to be added to the context of menu item - useful to attach context dynamically.

Parameters

value - System.String

The value that configures the data.

Enabled(System.Boolean)

Toggles the enabled state of the item.

Parameters

value - System.Boolean

The value that configures the enabled.

Hidden(System.Boolean)

Indicates wether the item should hidden.

Parameters

value - System.Boolean

The value that configures the hidden.

Icon(System.String)

Specifies the icon of the item.

Parameters

value - System.String

The value that configures the icon.

Id(System.String)

Specifies the id of the item.

Parameters

value - System.String

The value that configures the id.

ImageUrl(System.String)

Specifies the image of the item.

Parameters

value - System.String

The value that configures the imageurl.

SpriteCssClass(System.String)

Specifies custom css class added to the srite icon element of the item.

Parameters

value - System.String

The value that configures the spritecssclass.

Text(System.String)

Specifies the text of the item. ### items.url StringSpecifies the url of the item - it will render a element and will navigate the browser on click.

Parameters

value - System.String

The value that configures the text.

In this article
Not finding the help you need?