Solved

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

Posted on 2007-11-19
2
568 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
Comment Utility
How about this?
CreateUserWizard1.UserName = "";

CreateUserWizard1.Password = "";

Open in new window

0
 
LVL 7

Expert Comment

by:nisarkhan
Comment Utility
or you can also use:

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

 
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now