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
30
XamNumericEditor doesn’t allow enter "-" if current values is in selection.
posted

Hi,

I’m using XamNumericEditor  (NetAdvantage 2010.2 WPF).    
I noticed the following behavior in an editor configured for negative and positive number: if a selection was made in the editor and user starts typing with -  (minus),  the editor doesn’t allow enter –.     This only happens when a selection is made.


Scenario:  
XAML: <Grid><igEditors:XamNumericEditor HorizontalAlignment="Left" Margin="12,12,0,273" Name="xamNumericEditor1" Width="244" Mask="-nnn" Value="0" ValueType="{x:Type System:Int32}"/></Grid>

1. Open the window. The editor has value of 0.
2. Select “0”
3. Press -.

Sound of invalid character is played.  Expected behavior:   – (minus) character is displayed and the editor remains in the editor mode.
If you select the entire string in the editor (with all padding characters), the control behaves normally and I can start editing with –.


Thanks,
Sergey.