Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding a TextBox to non-Text property
Message
From
06/06/2006 18:03:09
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01126632
Message ID:
01127499
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform