How to capitalize the content of a an ASP textbox without posting
Posted on 2008-06-18
I have a web application where call center reps enter information about the caller. They want the app to capitalize the first and last name after entering them. I made the text box post back and in the textChanged event I called this function:
txtFName.Text = StrConv(txtFName.Text, VbStrConv.ProperCase)
Works great. The problem is that users did not like the fact that the page posts everytime they exit the control. Is there a way to do the same on the client side without posting?