Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Onkeyup on textbox
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
Application:
Web
Miscellaneous
Thread ID:
01520397
Message ID:
01520471
Views:
47
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
Previous
Reply
Map
View

Click here to load this message in the networking platform