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

Loading animation for NumericTextBoxFor control

2 Answers 59 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Herbert
Top achievements
Rank 1
Herbert asked on 23 Sep 2016, 09:52 AM
Hi All,

I have few controls on page and, based on chosen options on them, I dynamically populate NumericTextBoxFor with some value.
I would like to present some kind of loading animation to users, while the value for NumericTextBoxFor is generating and loading over ajax.
I found this options for other controls but I was not able to find it for NumericTextBoxFor.
Can you please provide me a code snippet for presenting and, when loading is finished, removing loading animation?

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 27 Sep 2016, 07:50 AM
Hello Ognjen,

The Kendo UI NumericTextBox does not support loading animation out of the box.

I can suggest using the progress method of the Kendo UI widget to set the loading animation for the widget. Please have in mind that a custom CSS rules will be required in order to modify the loading animation position:

http://docs.telerik.com/kendo-ui/api/javascript/ui/ui#methods-progress

I made a Dojo example demonstrating this implementation:

http://dojo.telerik.com/EgurIl

I hope this will help to achiŠµve the desired result.

Regards,
Stefan
Telerik by Progress
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Herbert
Top achievements
Rank 1
answered on 27 Sep 2016, 08:40 AM

Hello Stefan,

Thanks for your response! The answer is really helpful, especially the Dojo example.

Best regards,
Ognjen

Tags
NumericTextBox
Asked by
Herbert
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Herbert
Top achievements
Rank 1
Share this question
or