Solved

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

Posted on 2007-11-19
2
584 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 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

751 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