<kendo:dialog-action>

A collection of objects containing text, action and primary attributes used to specify the dialog buttons. #### Example

Example

<kendo:dialog-actions>
    <kendo:dialog-action></kendo:dialog-action>
</kendo:dialog-actions>

Configuration Attributes

action java.lang.String

The callback function to be called after pressing the action button.

Example

<kendo:dialog-action action="action">
</kendo:dialog-action>

primary boolean

A boolean property indicating whether the action button will be decorated as primary button or not.

Example

<kendo:dialog-action primary="primary">
</kendo:dialog-action>

text java.lang.String

The text to be shown in the action's button.

Example

<kendo:dialog-action text="text">
</kendo:dialog-action>

Event Attributes

action String

The callback function to be called after pressing the action button.

Example

<kendo:dialog-action action="handle_action">
</kendo:dialog-action>
<script>
    function handle_action(e) {
        // Code to handle the action event.
    }
</script>

Event Tags

kendo:dialog-action-action

The callback function to be called after pressing the action button.

Example

<kendo:dialog-action>
    <kendo:dialog-action-action>
        <script>
            function(e) {
                // Code to handle the action event.
            }
        </script>
    </kendo:dialog-action-action>
</kendo:dialog-action>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy