Dear all,
I have several ultraNumericEditor controls with keydown event. I find out that the value of the UltraNumericEditor is cleared after another numericEditor is selected by Enter Key Down. Do you know why??
protected void enterKeyEvent(object sender, System.Windows.Forms.KeyEventArgs e) { int keyCode = (int)e.KeyCode;
if (keyCode == (int)Keys.Enter) { Infragistics.Win.UltraWinEditors.UltraNumericEditor temp = ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender); if (temp.Name == "neCatty") neTael.Select(); else if(temp.Name=="nePound") neTael.Select(); else if (temp.Name == "neTael") neMace.Select(); else if (temp.Name == "neMace") neCandareen.Select(); else if (temp.Name == "neCandareen") btnOK.Select(); } else if (keyCode == (int)Keys.Escape) { this.btnCancel_Click(this, null); } }
Hello,
I tried this scenario and I am not able to reproduce the above mentioned behavior. For me, the other 'UltraNumericEditor' is selected and the values in both editors is kept the same. Could you please if possible attach a small sample project which reproduces this issue, I will be happy to take a look at it, or if you like I can attach a working sample of my own, but I do not know if this would help you at all.
Please do not hesitate to contact me if you need any additional assistance.
I find out that when leave the numeric editor, it show the number in less than 2 digits. e.g. I have inputted "999999" and the maximum value is set to 999999. But it show "9999". When back to the control, it show again "999999". It is impossible to hide some digits as the textbox has enough spaces.
Do you know this??
When I decrease the font size to be 8, it is OK.
I am using fonts: Microsoft Sans Serif.
So was this what was causing the issue. Do you need any additional assistance on this?
It is OK for me. Font size which cause this problem