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

DropDownTreeLabelSettingsBuilder

Methods

Content(System.String)

Sets the inner HTML of the label.

Parameters

value - System.String

The value that configures the content.

Example


            @(Html.Kendo().DropDownTree()
                        .Name("DropDownTree")
                        .Label(label=>label.Content("DropDownTree"))
            )

Floating(System.Boolean)

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

Parameters

value - System.Boolean

The value that configures the floating.

Example


            @(Html.Kendo().DropDownTree()
                        .Name("DropDownTree")
                        .Label(label=>label
                            .Content("DropDownTree")
                            .Floating(true)
                        )
            )

In this article
Not finding the help you need?