C
Cirene
I am using the createuserwizard. How do I allow them to (1) create the user
then (2) clear the form and let them enter the next user?
Right now it goes to teh "Complete" step (which I cant seem to delete.) I
tried writing code like this but it didn't seem to work.... It left several
textboxes alone and then the "Previous" button showed up out of nowhere.
Protected Sub ContinueButton_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Me.CreateUserWizard1.ActiveStepIndex = 0 ' go back to the
first step
For Each c As TextBox In CreateUserWizard1.Controls ' clear out
all fields
c.Text = ""
Next
End Sub
then (2) clear the form and let them enter the next user?
Right now it goes to teh "Complete" step (which I cant seem to delete.) I
tried writing code like this but it didn't seem to work.... It left several
textboxes alone and then the "Previous" button showed up out of nowhere.
Protected Sub ContinueButton_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Me.CreateUserWizard1.ActiveStepIndex = 0 ' go back to the
first step
For Each c As TextBox In CreateUserWizard1.Controls ' clear out
all fields
c.Text = ""
Next
End Sub