Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox Text on Check and Uncheck
Message
De
02/02/2010 09:46:03
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01447036
Message ID:
01447104
Vues:
29
>I thought I would be able to set up in designer what text should be in the check box when it is checked and a different text when it is unchecked. But I can't find these properties. Do they exist?

But Dmitry, why would you want to change the text? Users understand what a checkmark in a CheckBox means and changing the text when its state changes can only result in confusion. Example: say your CheckBox text says "Subscribe To Newsletter". By checking the CheckBox, the user has opted to subscribe to a newsletter. After they've checked it, what would you change the text to? It wouldn't change to "Unsubscribe", because then it would appear that they've marked a CheckBox that says "Unsubscribe", but they wanted to Subscribe, not Un.

Maybe I'm missing an obvious use case for this, so could you enlighten me?

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform