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

TextBoxTagHelper

Example

<kendo-textbox>
    <prefix-options></prefix-options>
    <suffix-options></suffix-options>
    <textbox-label />
</kendo-textbox>

ChildTags

Tag Name Details
prefix-options TextBoxPrefixOptionsSettingsTagHelper
suffix-options TextBoxSuffixOptionsSettingsTagHelper
textbox-label TextBoxLabelSettingsTagHelper

Attributes

Attribute Type Description
name String Sets the name of the component.
for ModelExpression An expression to be evaluated against the current model.
deferred Boolean Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
clear-button Boolean If set to true, will render a button that can be used to clear the value.
enable Boolean If set to false, the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
is-in-client-template Boolean When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-module Boolean
fill-mode FillMode Sets a value controlling how the color is applied.
has-client-component Boolean
on-change String Fired when the value of the widget is changed by the user.The event handler function context (available through the keyword this) will be set to the widget instance.
placeholder String The hint displayed by the widget when it is empty. Not set by default.
readonly Boolean If set to true, the widget will be readonly and will not allow user input. The widget is not readonly by default and allows user input.
rounded Rounded Sets a value controlling the border radius.
sanitize-id Boolean
script-attributes IDictionary<String,Object>
size ComponentSize Sets the size of the component.
value String The value of the widget.
In this article
Not finding the help you need?