Good morning all
I am experiencing a problem with the UltraNumericEditor.
It's properties are set to allow null and in the designer the value property is set to null (nulltext is also left empty).
The problem is that it always shows 0, instead of being empty.
The only solution I found so far was to set it's value property to null in the load event.
Am I missing something?
Any help is kindly appreciated,best regardsAndy
Hi Andy,
Please take a look at my sample and the properties set. I have only modified them through the designer.
I will be waiting for your feedback.
Hi Boris
good hearing from you, I hope you are doing fine.
Your sample works fine, and everything is like it should be. I had some trouble figuring out the differences between our setups, because they are completely equal. The source for the behavior I experienced was that I had it on an UserControl. The value was actually set from the form that hosted the control.I use to create properties in usercontrols that allow to set the controls values directly. Those were picked up by the designer when dragging the UserControl to the form and initialized by their default values. So I looked at the wrong designer. I removed the initializing lines from the forms' designer and everything is perfect now ;)
Thanks a lot for your support Boris, it is very much appreciated
have a great day and best regardsAndy
Great to hear back from you after some time!
I am glad to see that you were able to find the source of the issue, not that I have done much in this case.
I would have never thought that this could cause the issue and I am thankful that you shared the solution.
Have a nice day there and do not hesitate to write again if something comes up. I am here to assist you with anything I can.