Author: dwfreeman | Posted on: 11/26/2008 2:43:21 PM | Views : 909

How can I get a reference to a textbox added to the CreateUserWizard? I have tried

Dim CUWS1 As CreateUserWizardStep = CType(CreateUserWizard1.FindControl("CreateUserWizardStep1"), CreateUserWizardStep)

Dim FirstName As TextBox = CType(CUWS1.FindControl("txtFirstName"), TextBox)
myCommand.Parameters.AddWithValue("@FirstName", FirstName.Text.Trim())
but the reference keep coming up NULL. Other attempts have failed as well.

Thanks 
...

Go to the complete details ...