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

RadNumericTextBox - Point on numeric keyboard not functioning in MS IE9

9 Answers 141 Views
Input
This is a migrated thread and some comments may be shown as answers.
Pieter
Top achievements
Rank 1
Pieter asked on 31 Aug 2011, 12:48 PM
We use RadControls for ASP.NET AJAX version 2011.2.712. And we think the point (.) on the numeric keyboard isn't functioning correctly in MS IE 9 for the RadNumericTextBox.

We use the following markup for the control.

 

<telerik:RadNumericTextBox id="tbVanKm" runat="server" Width="150px" 
    MaxLength="10"  NumberFormat-GroupSeparator=""  
    NumberFormat-DecimalSeparator="." NumberFormat-DecimalDigits="3" 
    Culture="Dutch (Netherlands)">
    <ClientEvents OnError="onError" > </ClientEvents>
</telerik:RadNumericTextBox>

9 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 05 Sep 2011, 12:17 PM
Hello Pieter,

It seems to be a bug inside the RadNumericTextBox. Actually it is caused because the IE9 does not support the fireEvent function anymore but start to support dispatchEvent function of the elements.

Generally because the attributes in the argument of keydown event are read only. The event is canceled when numeric pad enters different sign (the decimal separator of the numeric pad can be dot or comma depending on the cultural settings) and then new event with the corrected keyCode is fired. And this is where the current code fails because the IE9 still has element.fireEvent function and our code uses it, but the function does not work.

Our developers are aware of this bug and they will fix it.

Regards,
Vasil
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
RBarnes
Top achievements
Rank 1
answered on 09 Jan 2012, 10:26 PM
We to are seeing some issue with the point (.) on the numeric keyboard and IE9.

Version 1011.3.1115.35

We can enter an intial value of .25 in the text box and it seems to work, tab out of the field, the tab back to the field and enter .25 we get 25.0.




0
Vasil
Telerik team
answered on 10 Jan 2012, 08:11 AM
Hello Dennis,

Make sure that the DecimalSeparator and the GroupSeparator of theNumberFormat for the RadNumericTextBox are different.
You could have this issue, if the separators are the same "." If this is not the case, please post the declaration of your input to test it locally here.

Regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
RBarnes
Top achievements
Rank 1
answered on 10 Jan 2012, 03:22 PM

The group seperator and the Decimal Seperator being different seem to make no difference, which I'd already tried prior to posting.

Here is my declaration.

<telerik:RadNumericTextBox ID="txtStaticPressure" runat="server" CausesValidation="true"
 Width="40px" NumberFormat-DecimalDigits="3" SelectionOnFocus="SelectAll" MinValue="0"
 NumberFormat-GroupSeparator="," NumberFormat-DecimalSeparator="." CssClass="TextAlignRight"></telerik:RadNumericTextBox>


0
Vasil
Telerik team
answered on 11 Jan 2012, 07:53 AM
Hello Dennis,

I tested your exact code with 2011.3.1115.35 version in IE9 using the decimal point from the numpad and it still works as expected here. If I enter .25 and tab away I get 0.250 and if then focus it still stays 0.25
What is the culture applied in your page? Could you also test with the latest version of the controls and see if it will make a difference.

Regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Roger Barnes
Top achievements
Rank 1
answered on 11 Jan 2012, 09:48 PM
The value doesn't change when the control gains focus again, after you have entered .25 tab out, tab back to it, and try to re-enter .25 using the (.) on the numer keypad. 
The value displayed is 25.

However you can enter 0.25 and it will accept it that way.

I've just installed the latest version 2011.3.1305.35 and this issue still occurs.


0
Vasil
Telerik team
answered on 12 Jan 2012, 09:50 AM
Hello Roger,

Sorry I was misunderstand the reproducing steps that your colleague Dennis described. Now I see the problem here, and I have logged it is a bug, so our developers will fix it. I am awarding you with 500 Telerik Points as appreciation for  your feedback that is helping us making our products better.

Kind regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Susanne
Top achievements
Rank 1
answered on 27 Jan 2012, 05:35 PM
I am experiencing the same issue.  Is there a workaround?
0
Vasil
Telerik team
answered on 30 Jan 2012, 10:03 AM
Hi Susanne,

This issue is already fixed. It should work correct if you download the latest internal build.

Kind regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Input
Asked by
Pieter
Top achievements
Rank 1
Answers by
Vasil
Telerik team
RBarnes
Top achievements
Rank 1
Roger Barnes
Top achievements
Rank 1
Susanne
Top achievements
Rank 1
Share this question
or