Home > Code > HTML > Uppercase letters in textbox

Uppercase letters in textbox

by Thamil   on May 28, 2013   Category: HTML   |  Views: 1036    |  Points: 25   |  Gold 

sometime we may need to have upper cases in the textbox, below is the sample to convert all letters to upper case while typing in textbox


<asp:TextBox ID="TextBox1" Style="text-transform: uppercase" runat="server" Text="test" ></asp:TextBox>


<style type="text/css">
text-transform: uppercase;

<asp:TextBox ID="TextBox1" CssClass="upprcse" runat="server" Text="test" ></asp:TextBox>

Post Code  |  Code Snippet Home

User Responses

No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts