Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding a TextBox to non-Text property
Message
De
06/06/2006 18:03:09
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01126632
Message ID:
01127499
Vues:
13
The MaskedTextBox works great for a phone number or zip code where everything is entered nice and neat. However, it seems to me that if you're entering a number (24,332.12) it would be nice to be able to just start typing and when you hit the decimal point everything would line up for you. I also allow for a prefix ($) and a suffix (%). I am using the text property to return the displayed string and the Value property to return the numeric value.

When I started on this little project I hadn't considered that I couldn't change the BindingProperty.

Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform