Home All Groups Group Topic Archive Search About

preserve password field over steps in wizard

Author
7 Dec 2005 12:55 PM
sam
A wizard control  has 5 steps.  On step 3 the user is prompted for a value
that is entered in a password box mySecretValue.  What is the best way to
ensure that the value in mySecretValue is available when the final processing
is done in step 5.  At the moment it keeps getting set to empty string, no
doubt the correct default behaviour,  but not what I want here.  Any ideas?

Author
7 Dec 2005 6:18 PM
Teemu Keiski
Hi,

try if this helps

How to set text to a Password TextBox?
http://aspadvice.com/blogs/joteke/archive/2005/02/03/2316.aspx

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

Show quoteHide quote
"sam" <s**@discussions.microsoft.com> wrote in message
news:F786B1D9-3BBD-4FFB-BB6A-267D9F5E5A64@microsoft.com...
>A wizard control  has 5 steps.  On step 3 the user is prompted for a value
> that is entered in a password box mySecretValue.  What is the best way to
> ensure that the value in mySecretValue is available when the final
> processing
> is done in step 5.  At the moment it keeps getting set to empty string, no
> doubt the correct default behaviour,  but not what I want here.  Any
> ideas?
Author
9 Dec 2005 5:00 PM
sam
Thank you Teemu.  Useful links,  but in the end I opted for just setting the
value in a hidden field,  which is preserved.  Does the trick!