Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Onkeyup on textbox
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
Application:
Web
Divers
Thread ID:
01520397
Message ID:
01520471
Vues:
46
Ron,

>Trying to find simplest, cleanest way to force data entered into textbox on form to upper case, not only display

The easiest way is to add a style to the mm.css style sheet:

.uppercase
{
text-transform:uppercase;
}

Then set the text box CssClass property to: uppercase


>FWIW, there appears to be a new property ‘charactercasing’ in .NET 4 on textbox controls. However, if I try to use it on an mm:mmTextBox, it is not recognized. I did not try it to see if it works anyway, perhaps I should, since the above seems to work. Anyway quick and dirty way to make these messages disappear? I am going to be putting the upper casing on a LOT of textboxes.
>
>http://msdn.microsoft.com/en-us/library/system.windows.controls.textbox.charactercasing.aspx

This new property is for WPF controls, not ASP.NET.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform