I am using UltraNumericEditor with Spinbutton with restricting input between 1 and 180. While in edit more I see integer but when I click outside of the cell the value shows as "x.00 "
I do not want to see "decimal places", although user can't enter any decimal value.
How can I suppress decimal values ?
m_uNumericEditor = new UltraNumericEditor();
m_uNumericEditor.SpinButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Always;
m_uNumericEditor.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.VisualStudio2005;
m_uNumericEditor.NumericType = NumericType.Integer;
m_uNumericEditor.MinValue = 1;
m_uNumericEditor.MaxValue = 180;
m_uNumericEditor.MaskInput = "nnn";
Hi
I made small sample to reproduce your issue, but unfortunatelly without sucess. I think that if you write the code below in the form contructor or in event FormLoad you will get this behaviour. I attach my sample in the post. Please check your code, may be you overide some propertie. If you have possibility modify my sample to reproduce your issue. If you have any questions do not hesitate to ask me.
Regards
I can see in demo there is no decimal, but for in my application I still see "x.00" value. I'm using same settings as in your demo.
I cannot reproduce this in demo.
Hi,
Could you please chande the property NumericType = Integer. I think that in your case this property is NumericType = Decimal. Also please tell me what is your component version? Did you instal the latest service release?Regards
if you see original posting, I am using Integer.
We are using 9.2 with version - 9.2.20092.1003
We can't go to version 10 yet as all of our team has to update controls.
Strange thing is that your demo works fine and all my setting is same as that in your demo.
I`ll try to reproduce your issue with the same version and I`ll infom youRegards