New to Telerik UI for JSP? Download free 30-day trial

<kendo:dropDownButton>

A JSP wrapper for Kendo UI DropDownButton.

Configuration Attributes

enabled boolean

Indicates whether the DropDownButton should be enabled or disabled. By default, it is enabled, unless a disabled="disabled" attribute is detected.

Example

<kendo:dropDownButton enabled="enabled">
</kendo:dropDownButton>

fillMode java.lang.String

Controls how the color is applied to the button. Valid values are: "solid", "outline", "flat", "link", and "none". Default value is "solid".

Example

<kendo:dropDownButton fillMode="fillMode">
</kendo:dropDownButton>

icon java.lang.String

Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be applied as background image of a span element inside the DropDownButton. The span element can be added automatically by the widget, or an existing element can be used, if it has a k-icon CSS class applied. For a list of available icon names, please refer to the Icons demo.

Example

<kendo:dropDownButton icon="icon">
</kendo:dropDownButton>

iconClass java.lang.String

Defines a CSS class - or multiple classes separated by spaced - which are applied to a span element inside the DropDownButton. Allows the usage of custom icons.

Example

<kendo:dropDownButton iconClass="iconClass">
</kendo:dropDownButton>

imageUrl java.lang.String

Defines a URL, which will be used for an img element inside the DropDownButton. The URL can be relative or absolute. In case it is relative, it will be evaluated with relation to the web page URL.The img element can be added automatically by the widget, or an existing element can be used, if it has a k-image CSS class applied.

Example

<kendo:dropDownButton imageUrl="imageUrl">
</kendo:dropDownButton>

itemTemplate java.lang.String

Specifies a custom template for the menu items.

Example

<kendo:dropDownButton itemTemplate="itemTemplate">
</kendo:dropDownButton>

rounded java.lang.String

Controls what border radius is applied to a button. Valid values are: "small", "medium", "large", "full", and "none". Default value is "medium".

Example

<kendo:dropDownButton rounded="rounded">
</kendo:dropDownButton>

size java.lang.String

Controls the overall physical size of a button. Valid values are: "small", "medium", "large", and "none". Default value is "medium".

Example

<kendo:dropDownButton size="size">
</kendo:dropDownButton>

spriteCssClass java.lang.String

Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a span element inside the DropDownButton. In case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the icon property.The span element can be added automatically by the widget, or an existing element can be used, if it has a k-sprite CSS class applied.

Example

<kendo:dropDownButton spriteCssClass="spriteCssClass">
</kendo:dropDownButton>

themeColor java.lang.String

Controls the main color applied to the button. Valid values are: "base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse", and "none". Default value is "base".

Example

<kendo:dropDownButton themeColor="themeColor">
</kendo:dropDownButton>

Configuration JSP Tags

kendo:dropDownButton-items

Specifies the menu buttons of the DropDownButton.

More documentation is available at kendo:dropDownButton-items.

Example

<kendo:dropDownButton>
    <kendo:dropDownButton-items></kendo:dropDownButton-items>
</kendo:dropDownButton>

kendo:dropDownButton-messages

Allows localization of the strings that are used in the widget.

More documentation is available at kendo:dropDownButton-messages.

Example

<kendo:dropDownButton>
    <kendo:dropDownButton-messages></kendo:dropDownButton-messages>
</kendo:dropDownButton>

kendo:dropDownButton-popup

The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.

More documentation is available at kendo:dropDownButton-popup.

Example

<kendo:dropDownButton>
    <kendo:dropDownButton-popup></kendo:dropDownButton-popup>
</kendo:dropDownButton>

Event Attributes

click String

Fires when the DropDownButton or any if its items is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the DropDownButton or an item is focused.

For additional information check the click event documentation.

Example

<kendo:dropDownButton click="handle_click">
</kendo:dropDownButton>
<script>
    function handle_click(e) {
        // Code to handle the click event.
    }
</script>

open String

Fires when the menu button is opened.

For additional information check the open event documentation.

Example

<kendo:dropDownButton open="handle_open">
</kendo:dropDownButton>
<script>
    function handle_open(e) {
        // Code to handle the open event.
    }
</script>

close String

Fires when the menu button is closed.

For additional information check the close event documentation.

Example

<kendo:dropDownButton close="handle_close">
</kendo:dropDownButton>
<script>
    function handle_close(e) {
        // Code to handle the close event.
    }
</script>

Event Tags

kendo:dropDownButton-click

Fires when the DropDownButton or any if its items is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the DropDownButton or an item is focused.

For additional information check the click event documentation.

Example

<kendo:dropDownButton>
    <kendo:dropDownButton-click>
        <script>
            function(e) {
                // Code to handle the click event.
            }
        </script>
    </kendo:dropDownButton-click>
</kendo:dropDownButton>

kendo:dropDownButton-open

Fires when the menu button is opened.

For additional information check the open event documentation.

Example

<kendo:dropDownButton>
    <kendo:dropDownButton-open>
        <script>
            function(e) {
                // Code to handle the open event.
            }
        </script>
    </kendo:dropDownButton-open>
</kendo:dropDownButton>

kendo:dropDownButton-close

Fires when the menu button is closed.

For additional information check the close event documentation.

Example

<kendo:dropDownButton>
    <kendo:dropDownButton-close>
        <script>
            function(e) {
                // Code to handle the close event.
            }
        </script>
    </kendo:dropDownButton-close>
</kendo:dropDownButton>
In this article
Not finding the help you need?