set textbox text (textmode:password)

  • Thread starter Thread starter tom
  • Start date Start date
T

tom

Hello,

I have an asp.net web application where I want people
to register themselves.
This takes them through a few pages with prev/next
functionality.

In one of the pages they provide a password. I use a
textbox with textmode password for this.
But when I want to set the text of the textbox serverside
(in case they use 'previous' and go to the page where pwd
was asked), it shows up empty.

Anyone have an idea how to set the text of a password
mode textbox serverside?

thanx,
t
 
Set a session variable to the textbox's value. Then when the page is
loaded, check if there is a value(obviously there won't be one the first
time the page is loaded so just ignore it) and use it.
 
The problem is not getting the value of the password.
I have that already in my database. But when a user wants
to o back to the page where he already entered his
password I set the text of the textbox to the password
(because it's a mandatory field).
However, it seems that because it's in textmode password
that it won't take the text, it shows up empty.
 
Back
Top