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

NumericTextBoxSetting: problem with decimal values + culture

2 Answers 124 Views
Input
This is a migrated thread and some comments may be shown as answers.
Gerhard
Top achievements
Rank 1
Gerhard asked on 25 Oct 2010, 12:42 PM
I have a problem with the RadInputManager control. I use a NumericTextBoxSetting control to assure that the user can only enter a decimal value in a text box.

<telerik:RadInputManager ID="imState" runat="server">
    <telerik:NumericTextBoxSetting Type="Number" MinValue="0" DecimalDigits="2">
        <TargetControls>
            <telerik:TargetInput ControlID="tbLength" />
        </TargetControls>
    </telerik:NumericTextBoxSetting>
</telerik:RadInputManager>


On the same page there's a drop down list which forces the page to carry out a postback. If the culture is for example 'de' and the user enters a double value after a postback this value becomes an integer.
for example: 4,25 -> 425

If the culture is 'en' there's no problem.

Thanks,
Gerhard

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavel
Telerik team
answered on 26 Oct 2010, 02:58 PM
Hi Gerhard,

This problem is fixed in our latest service pack (2010.2 929). Please upgrade to that version and let us know if you find any problems with it. Here is a knowledge base article which elaborates on how to update:
http://www.telerik.com/support/kb/aspnet-ajax/general/updating-radcontrols-for-asp-net-to-another-version-or-license.aspx

All the best,
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
Gerhard
Top achievements
Rank 1
answered on 27 Oct 2010, 10:40 AM
Thanks a lot!! This solved my problem.
Tags
Input
Asked by
Gerhard
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Gerhard
Top achievements
Rank 1
Share this question
or