How do I clear the text controls in a createuserwizard control ?

I test to see if the user name entered into the createuserwizard control exists in a database of authorized users.  If it fails I pop up a dialog informing the user the username they entered does not exist.  When they close the dialog I want to clear the createuserwizard text fields.  Can someone point me in the right direction?
Who is Participating?
DotNetThinkerConnect With a Mentor Commented:
How about this?
CreateUserWizard1.UserName = "";
CreateUserWizard1.Password = "";

Open in new window

or you can also use:

CreateUserWizard1.UserName = String.Empty();
CreateUserWizard1.Password = String.Empty();

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.