Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Masked Hidden Controls + Passwords...

Status
Not open for further replies.

shahdu

Programmer
Jun 5, 2008
25
GB
Hi,

Sorry but a little new to .NET. Am writing a small app as a front end to another system. Currently just trying to get the logon screen sorted.

I have a webform with a Hidden Text box. When the user clicks the logon button, i cannot grab the password from the Hidden control. I have tried request.forms("password") but to no avail.

Help please....I'm sure this is due to something I have not done...
 
I'm supposing that when you mean hidden, it means that when they type into the textbox it shows the dots...and not the letters?

Normally,...all you have to do is use the 'text' property of the control to get it.

For example: You call your text box txtPassword. Just use: YourVariable = txtPassword.text.

Hope this helps and I'm understanding what you were asking. :)
 
This looks like ASP.Net code instead of VB.Net.

You may want to ask the same question in the
forum855

forum. They are more skilled in the ways of the web.

-Sometimes the answer to your question is the hack that works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top