Display UpperCase in a text box

I need to display the text in the asp text box as in uppercase, regardless of whether user cap locking is enabled or not - is there any property or method that I can use? I convert the text using the .ToUpper method when sending to the database anyway, but I was also asked to display it in uppercase before this on the first input.

Any help would be greatly appreciated.

Abi

+4
source share
1 answer

use CSS for this

#idOfyourTextbox{ text-transform: uppercase; } 

uppercase, which :;)

+11
source

All Articles