TextBoxLabelSettingsBuilder
Methods
Content(System.String)
Sets the inner HTML of the label.
Parameters
value - System.String
The value that configures the content.
Example
@( Html.Kendo().TextBox()
.Name("TextBox")
.Label(l => l.Content("TextBoxContent"))
)
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().TextBox()
.Name("TextBox")
.Label(l => l.Floating(true))
)
ContentHandler(System.String)
Sets the inner HTML of the label.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated..
Example
@( Html.Kendo().TextBox()
.Name("TextBox")
.Label(l => l.ContentHandler("textBoxContentHandler"))
)