This is a migrated thread and some comments may be shown as answers.

Label For

1 Answer 287 Views
MaskedTextBox
This is a migrated thread and some comments may be shown as answers.
Sergio
Top achievements
Rank 1
Sergio asked on 31 May 2020, 12:19 PM

Is there a form to put a 'label for' on a old version @(Html.Kendo().TextBox() 2015.1.429.545?

It has not the .label prop

 

Thanks

Sergio

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 03 Jun 2020, 05:08 AM

Hi Sergio,

 

You can try using the HtmlAttributes property of the widget and pass any kind of attribute you would like to have in the rendered output:

new { @class="name", @readonly="readonly", custom="sample text" }


I hope this will prove helpful.

 

Regards,
Eyup
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
MaskedTextBox
Asked by
Sergio
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or