Trying To Create A Password textbox

using VB.NET 2005, I have a textbox that users enter a their password into.  I want the password to show astericks instead of the password.  I cannot find the MaskedTextBox control in my tools, etc. nor can I find in the properties section a property that says "PasswordChar" for any of my text boxes

I couldn’t find where to try setting textbox property TextMode="Password"
I added Imports System.Web.UI.WebControls and I am still unable to either convert my current textbox into a password format with asteriks or add password textbox.  Can someone help me with what I’m missing?  Thank you.

ic
ilfocorpAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

meetingexpectationsCommented:
This is what I have and it works fine...
<asp:TextBox ID="txtPassword" runat="server" TextMode="Password" ></asp:TextBox>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kumaraswamy RCommented:
<asp:TextBox id=TextBox1 runat="server" TextMode="Password" AutoPostBack="True" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
0
omegaomegaDeveloperCommented:
Hello, ic,

What type is your current TextBox?  (System.Windows.Forms.TextBox has a PasswordChar property that you can set to be an asterisk.)

Cheers,
Randy
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.