Solved

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

Posted on 2007-11-19
2
580 Views
Last Modified: 2008-02-07
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?
Thanks,
John
0
Comment
Question by:leachj
2 Comments
 
LVL 11

Accepted Solution

by:
DotNetThinker earned 500 total points
ID: 20313872
How about this?
CreateUserWizard1.UserName = "";
CreateUserWizard1.Password = "";

Open in new window

0
 
LVL 7

Expert Comment

by:nisarkhan
ID: 20314175
or you can also use:

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

 
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question