J
jqheller
Folks I am losing my mind trying to work with the
TemplatedWizardStep. I have created a multistep user registration
form that collects plenty of user information including a password.
At the end of the process I am finding that the value of my password
control is blank. When I set the textmode of my textbox to
singleline, the value is preserved. It is just when the textbox is
set to password that I lose the value.
I am casting to the password box in the following way:
// make reference to the password step
TemplatedWizardStep passwordStep = SelectPasswordStep;
// password step
TextBox PasswordChoice =
(TextBox)passwordStep.ContentTemplateContainer.FindControl("Password");
Response.Write(PasswordChoice.Text);
This is the same way that I cast to the other controls and I have no
issues. I understand that I can't reset the value of the password
textbox, but that isn't what I'm trying to do. I just need to be able
to read it at the end of my process to create the user's account.
I have been at this for most of the week now. Is it just not possible
to keep the value of a password textbox inside of a
templatedwizardstep? I can't be the first person to use these
controls for the purpose of creating a user account..
Any help would be appreciated.
Thanks,
JQ
TemplatedWizardStep. I have created a multistep user registration
form that collects plenty of user information including a password.
At the end of the process I am finding that the value of my password
control is blank. When I set the textmode of my textbox to
singleline, the value is preserved. It is just when the textbox is
set to password that I lose the value.
I am casting to the password box in the following way:
// make reference to the password step
TemplatedWizardStep passwordStep = SelectPasswordStep;
// password step
TextBox PasswordChoice =
(TextBox)passwordStep.ContentTemplateContainer.FindControl("Password");
Response.Write(PasswordChoice.Text);
This is the same way that I cast to the other controls and I have no
issues. I understand that I can't reset the value of the password
textbox, but that isn't what I'm trying to do. I just need to be able
to read it at the end of my process to create the user's account.
I have been at this for most of the week now. Is it just not possible
to keep the value of a password textbox inside of a
templatedwizardstep? I can't be the first person to use these
controls for the purpose of creating a user account..
Any help would be appreciated.
Thanks,
JQ