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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CreateUserWizard FindControl ID

Status
Not open for further replies.

lawlegacy

IS-IT--Management
Jun 5, 2006
53
0
0
US
When using the default CreateUserWizard controls for signup. How do I reference the id for each control (Username, password, ConfirmPassword, Email and the submit button) ?

I've tried "TextBox emailTB = (TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("Email")"

But this doesnt seem to work.
 
I belive your code will only work if the controls are placed in one of the templates.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top