Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Masked text box
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01397623
Message ID:
01397687
Views:
40
Hi Eric..thanks for your reply.

I can understand why your users dont like the control

I am very surprised that, even with Visual Studio 2008, there is not ,out of the box, a control that will let you enter
a number, one of the most basic things one needs to do in any application.

I know I can code round it..but surely this is something that should not have to be done in this day and age.
I have seen an article floating around here referring to .Net Bloat and the shortcomings of .Net vs VFP......this is surely a good example.

Regards,
Gerard





>Personally (and all my users) hate this control for decimal input and other mask like canadian postal code (A1A 1A1) because you don't have the complete freedom of what you are inputing and where. But if you have telephone numbers to input, it is not too bad.
>
>See http://www.emoreau.com/Entries/Articles/2006/06/The-TextBox-and-the-MaskedTextbox-controls.aspx for some complaints on it.
>
>I suggest that you use a NumericUpDown control or a plain textebox to which you add validations (see http://www.emoreau.com/Entries/Articles/2003/03/Creating-your-own-Windows-Custom-Control.aspx).
>
>
>>Hi
>>I am trying to use the masked text box to enter numeric data , with a decimal point.
>>I want to be able to enter say:
>>12.24
>>1234.56
>>100
>>.57 etc
>>
>>Is the MaskedTextBox the right control ?
>>TIA
>>Gerard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform