text transform uppercase not working on server side ASP.Net

Last Reply on Apr 29, 2014 11:08 PM By Mudassar

Posted on Apr 29, 2014 11:08 PM

dear fellas

im using this code to auto change letter in textbox into uppercase,

<asp:TextBox ID="txtbox_name" runat="server" Height="16px" Width="440px" style = "text-transform:uppercase"></asp:TextBox>

 

but in my server it still send in lowercases so it doesnt not appear uppercases in my report.

how can i solve this?

Posted on Apr 29, 2014 11:08 PM

On Server side do

string w = txt.Text.ToUpper();