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

Get value

4 Answers 173 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Liem
Top achievements
Rank 1
Liem asked on 03 Jul 2017, 08:22 PM

Hello,

How do you get/read the value of the NumericTextBox right after you copy and paste the value into the box? 

 

Thanks!

4 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 04 Jul 2017, 12:29 PM
Hi Liem,

You can get the pasted data inside Kendo NumericTextBox using the paste event. I have assembled a small dojo sample which illustrates how to access the pasted data using the aforementioned approach:



Regards,
Georgi
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Liem
Top achievements
Rank 1
answered on 04 Jul 2017, 03:39 PM

Hello Georgi,

Thank you for your reply.  But it did not work.  I have updated the dojo

http://dojo.telerik.com/URAJe/3

please help!

Thank you!

 

0
Georgi
Telerik team
answered on 06 Jul 2017, 08:58 AM
Hello Liem,

The sample from the previous message doesn't work in IE. This is because Internet Explorer raises the paste event earlier than the other browsers.

However, I have assembled a sample that works in IE as well. The following dojo illustrates how to get the value of the Kendo NumericTextBox when you paste value into it.


The video in the link below show how the sample behaves on my end:


Please give it a try and let me know if that is the desired behavior. In case it isn't, please provide me with more detailed information of what you want to achieve.


Regards,
Georgi
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Liem
Top achievements
Rank 1
answered on 06 Jul 2017, 01:10 PM
Hello Georgi - It is working now for IE/Chrome/FireFox.  Thanks!
Tags
NumericTextBox
Asked by
Liem
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Liem
Top achievements
Rank 1
Share this question
or