How do I just let the users edit without a mask?
If you don't want the currency mask, why not just use an UltraNumericEditor or UltraMaskedEdit, or even an UltraTextEditor? What kind of functionality do you need?
-Matt
I am looking to edit numbers without having to be converting everything in C#. So perhaps the numberic edit, but that also has masking (is default float rather than decimal). They will be using multiple currencies in the same session, entereing one invoice in one currency, one in another. I want to deal with currency without symbols and as anyone who has done a lot of data entry applications where the users are busy, the masks really make data entry more difficult, not easier.
I want my user to enter 100 without typing through lines or other masking fields and I then can format to #,###.00 and do other things without having to do multiple conversions in and out of strings.
So the simple question remains: can you use the currency editor or the numeric editor with no masking characters showing?
thanks.
You could certainly specify the mask yourself (i.e. "nnnn.nn"), which will only show the _____ where the entry would be, and will not show the currency symbol. You can then use the FormatString property to show it as you see fit.
Yes, that is what I was doing, but my users hate the line and all masls. I guess you are saying that you cannot have NO Mask, even when the mask field is empty? Perhaps this can be a feature request for future version on this and the numeric control. Thanks.
I guess my brain was fried on Friday, since I couldn't think of this or I was just completely misreading your question, but you could certainly just change the PromptChar property to null at design-time, which should accomplish this.
Well you won't be able to have *unlimited* numbers because there is a maximum value for the DataType associated with the editors, and I *think* that by using all n's as your mask you might be causing the editor to use a numeric type for the value. I'm pretty sure that you'll have to enter the mask for the maximum value that you want to allow.
This is great.
"nnn,nnn.nn" as the MaskInput, the user can only enter numbers up to 999,999.99.