Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
XamNumericEditor Format problems
posted

Hello,

I'm using a NumericEditor in an application but it doesn't seems to work. I've done a very simple test application to show the bad behaviour of the editor. I've used the workaround to initialize the default Language value based on the current culture (http://forums.infragistics.com/forums/p/14138/52092.aspx#52092).

I write this on the editor: "123123123" and the control shows this while I'm editing: _123.123.123,__ and when I change the focus to another control, the editor shows: "123,00". Any idea?

<Window x:Class="InfragisticsTest.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ifged="clr-namespace:Infragistics.Windows.Editors;assembly=Infragistics3.Wpf.Editors.v8.2"
    Title="Window1" Height="83" Width="206">
    <StackPanel>
        <ifged:XamNumericEditor x:Name="txtTest" />
        <Button>Ok</Button>
    </StackPanel>
</Window>

Thanks a lot in advance,

Marc.

PS: I'm using 8.2 version because I need the DateTimePicker. I've tried with the 7.2 and works fine!

Parents
No Data
Reply
  • 255
    Offline posted

     Hello,

    we have exactly the same problem. I think this problem is related to the decimal point.  When you provide while typing in the number  i.e 90000.00 it works fine. Without typing the decimal point 90000 comes out as 90.00. We urgently need a fix for this bug.

    We are also using 8.2 version because of the DateTimePicker. 8.1 version of the wpf control also work fine

     

     

Children