Are there any WebForm Password controls in .Net?

  • Thread starter Thread starter Greg Linwood
  • Start date Start date
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
 
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.
 
Back
Top