Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric data entry
Message
 
To
05/07/2007 07:23:48
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01237873
Message ID:
01237874
Views:
12
Are you using the MaskedTextBox? You shouldn't. This control never been usefull for that kind of input (see http://www.emoreau.com/Entries/Articles/2006/06/The-TextBox-and-the-MaskedTextbox-controls.aspx).

You better create your own textbox to handle that. See http://www.emoreau.com/Entries/Articles/2003/03/Creating-your-own-Windows-Custom-Control.aspx for an example.

There are also a couple of ready-made controls you can buy to handle it.


>Hi,
>I found that, data entry for numeric data using textbox is not user friendly in .NET as compared with VFP.
>
>Let assume I have a textbox which current value is 0.00. In VFP, when we focus to textbox, start to key in 1st digit - 2, the value would changed to 2.00.
>
>However, in .NET, hen I start to enter 1st digit - 2, the value become 21.00, unless I highlight the value before change the value.
>
>Anyway I can make .NET textbox behave as VFP? Do you face this problem also? How do you solve it out? My customer start to complaint about it because it always cause data entry goes wrong.
>
>Thank you
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform