Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# password TextBox in a ASP.net website

I'm trying to create a ASP .NET website that masks the password in a registration page as the user types. I found sites that use windows form but it doesn't work for a ASP .NET website.

So if the user types in a password its masked like this

 ******* 

Any website or suggestion on how I can get it to work would be great.

like image 253
user990951 Avatar asked Nov 19 '11 03:11

user990951


1 Answers

To do it the ASP.NET way:

<asp:TextBox ID="txtBox1" TextMode="Password" runat="server" /> 
like image 122
Tim Avatar answered Sep 19 '22 05:09

Tim