?
Solved

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

Posted on 2007-11-19
2
Medium Priority
?
593 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
DotNetThinker earned 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

718 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