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

Incorrect text is written when RadInput.TypeText is used

2 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Svetlana
Top achievements
Rank 1
Svetlana asked on 14 Jul 2010, 06:23 PM
Hello,

I need to set a value to RadInput control.
When I use "RadInput.TypeText("22799")" expression, sometimes I get the following text entered: 92279

On test execution the cursor jumps to the beginning of the field. But when I enter the text manually - all works fine.

How could I avoid this? Maybe I should set typing speed or use another method instead "TypeText"?

Regards,
Svetlana

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavel
Telerik team
answered on 15 Jul 2010, 07:43 AM
Hi Svetlana,

One option is to try setting the InputValue property which sets the text via the javascript set_value() method and will not produce that undesired effect.

I am not sure what may be causing the swapping of symbols when TypeText() is used. As you mention it seems that a likely reason for this may be if the cursor goes to the beginning of the field, just before the last digit is entered. Can you provide some details about the version of RadControls for Asp.Net AJAX you are using and the markup/code declaration for the input in question? This will help us investigate the issue further.

Best wishes,
Pavel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Svetlana
Top achievements
Rank 1
answered on 15 Jul 2010, 10:01 AM
Thank you Pavel!
Tags
General Discussions
Asked by
Svetlana
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Svetlana
Top achievements
Rank 1
Share this question
or