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

How to give a label from another function

2 Answers 32 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
Enes
Top achievements
Rank 1
Enes asked on 28 Jul 2020, 08:10 AM

Hi, I have a question for kendo textbox widget label. I would like to use label like value methods. However; labels are given only configuration. Are there any method that is working like value methods.

 

var textbox = $("#textbox").data("kendoTextBox");

textbox.value("VALUE"); // this is a example I want.

 

 

Thanks for helping.

2 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 30 Jul 2020, 08:12 AM

Hello Enes,

We don't have an API method that sets the label of the TextBox, but you can use jQuery to set its text: https://dojo.telerik.com/AmEQUWAl

Regards,
Ivan Danchev
Progress Telerik

0
Enes
Top achievements
Rank 1
answered on 31 Jul 2020, 07:07 AM
It is working. Thanks a lot.
Tags
TextBox
Asked by
Enes
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Enes
Top achievements
Rank 1
Share this question
or