Register  ::  Login

February 06, 2012

Forums
 
Subject: Change a Textbox to uppercase
Prev Next
You are not authorized to post a reply.

Author Messages
DonUser is Offline
New Member
New Member
Posts:20


05/26/2005 5:53 AM  

Add this to the Page_Load event:


MyTextBox.Attributes.Add('onchange', '</script>this.value = this.value.toUpperCase(); ');


It will change the text in MyTextBox to upper case when the user tabs out of the field.

You are not authorized to post a reply.