Sunday, March 17, 2013

Capitalize textbox input as it's entered

Problem
I have a form with an input textbox and a button to process the results of that input. I need the input to be forced to uppercase in the textbox.

Note: If I didn't need the user to see it as capitalized then I would just do txtBox.Text.ToUpper() in the processing code, but I need the user to see it as capitalized.

Solution 

No comments:

Post a Comment

There was an error in this gadget