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

DateInputLabelSettingsBuilder

Methods

Content(System.String)

Sets the text content of the label.

Parameters

value - System.String

The value that configures the label content.

Example


            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Label(l => l.Content("Enter a date..."))
            )

Floating(System.Boolean)

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

Parameters

value - System.Boolean

The boolean value.

Example


            @(Html.Kendo().DateInput()
                .Name("dateinput")
                .Label(l => l.Floating(true).Content("Enter a date..."))
            )

In this article
Not finding the help you need?