<kendo:datePicker-label>

Adds a label before the datepicker. If the datepicker has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.

Example

<kendo:datePicker>
    <kendo:datePicker-label></kendo:datePicker-label>
</kendo:datePicker>

Configuration Attributes

content java.lang.String

Sets the inner HTML of the label.

Example

<kendo:datePicker-label content="content">
</kendo:datePicker-label>

floating boolean

If set to true, the widget will be wrapped in a container that will allow the floating label functionality.

Example

<kendo:datePicker-label floating="floating">
</kendo:datePicker-label>

Event Attributes

content String

Sets the inner HTML of the label.

Example

<kendo:datePicker-label content="handle_content">
</kendo:datePicker-label>
<script>
    function handle_content(e) {
        // Code to handle the content event.
    }
</script>

Event Tags

kendo:datePicker-label-content

Sets the inner HTML of the label.

Example

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