Are there any WebForm Password controls in .Net?

G

Greg Linwood

In plain old html forms, there was a type="password" attribute which
provided password behaviour to the <input> element.

I'm building a WebForm in VS2003 & was expecting to find such a control
under the Web Forms toolbar but there's no such control - although there is
under HTML toolbar. There also doesn't appear to be any property of the
normal TextBox that provides password behaviour.

Am I missing something simple or is there no asp.net control that provides
password behaviour?

Regards,
Greg Linwood
SQL Server MVP
 
J

John Saunders

Greg Linwood said:
In plain old html forms, there was a type="password" attribute which
provided password behaviour to the <input> element.

I'm building a WebForm in VS2003 & was expecting to find such a control
under the Web Forms toolbar but there's no such control - although there is
under HTML toolbar. There also doesn't appear to be any property of the
normal TextBox that provides password behaviour.

Am I missing something simple or is there no asp.net control that provides
password behaviour?

Look at TextBox.TextMode.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top