Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To Mask Textbox or Not?
Message
 
 
À
23/01/2010 12:33:03
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01445645
Message ID:
01445653
Vues:
24
>>Hi,
>>
>>I just realized (ran into it) that a regular win forms textbox does not have a Mask property. So I found out that there is a Masked Textbox in VS 2005. But then I read here in some of the old messages that Masked Textbox is not a good idea. I need to have some text boxes to have a Format (!) - automatic upper case and limit a number of characters to, say, 10 or 15. Will Masked Textbox work in this case or should I seek a 3P products?
>
>Try the MaskedTextBox. Mask should probably be '>??????????'
>( > forces following input to upper case, number of ? will determine maximum length)

Thank you. If the regular textbox with CharacterCasing does not work I will turn to masked textbox.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform