473,385 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Are there any WebForm Password controls in .Net?

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


Nov 18 '05 #1
2 1231
"Greg Linwood" <g_*********************************@hotmail.com > wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
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.
--
John Saunders
John.Saunders at SurfControl.com
Nov 18 '05 #2
Thanks John.

That hit the spot!

Regards,
Greg Linwood
SQL Server MVP

"John Saunders" <john.saunders at SurfControl.com> wrote in message
news:#m**************@tk2msftngp13.phx.gbl...
"Greg Linwood" <g_*********************************@hotmail.com > wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
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.
--
John Saunders
John.Saunders at SurfControl.com

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Phillip N Rounds | last post by:
I have a webform, from which I have to submit info to another site. Their instructions are to have a html form, with the following as the submit: <form method="post"...
1
by: Chris Scragg | last post by:
Hi all: Through a Session variable, I am populating among other things the password field in a user's profile page (the Webform); this.TextBoxConfirmPassword.Text = Convert.ToString(Session);...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
6
by: Zingam | last post by:
Is it possible to insert a WinForm in a WebForm? I'd like for example to insert a managed directx viewer in a webform, that would display 3d graphics on the form? Is this possible? Regards,...
9
by: Peter Afonin | last post by:
Hello: I need to clear all textboxes on the webform after the data has been submitted. How can I do this in one step? I found a C# code: // get a reference to your form control Control frm...
1
by: Rahim | last post by:
i want to change all the label control style Properties, server control properties at runtime how should i call all the label at runtime, which is present at webform, any collections???? i...
4
by: mg | last post by:
How can I download a little grey box - not a WebForm - that asks for username/ password? I've got a C# - based WebForm app.
3
by: Ipsita | last post by:
Hi, I am explaining the scenario of what I am trying to do: - I have a webform with some controls, from which I am taking the data. eg say Username, password - I am passing these data as...
3
by: mr_Grip | last post by:
Hi! I´ve just joined here and thinks this seems like a good place to be :) I´m working on a project using webforms and one thing that I would like to know is, if I copy a few controls and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.