473,396 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

access CreateUserWizardControl controls?

How do I access the fields in a CreateUserWizardControl such as the UserName
textbox etc.

I need to prepopulate some data before the administrator finishes creating a
user account.

I tried something like this:

CreateUserWizardStep cuws = CreateUserWizard1.CreateUserStep;
TextBox tbUserName = (TextBox)cuws.FindControl( "UserName" );
tbUserName.Text = "samalamadingdong";

Thanks for any suggestions!
Aug 7 '06 #1
2 1243
Hello Dabbler,

Couldn't you do something like:

CreateUserWizard1.UserName = "samalamdingdong";

Will prepopulate the username text box with the name.

--
brians
http://www.limbertech.com
"Dabbler" wrote:
How do I access the fields in a CreateUserWizardControl such as the UserName
textbox etc.

I need to prepopulate some data before the administrator finishes creating a
user account.

I tried something like this:

CreateUserWizardStep cuws = CreateUserWizard1.CreateUserStep;
TextBox tbUserName = (TextBox)cuws.FindControl( "UserName" );
tbUserName.Text = "samalamadingdong";

Thanks for any suggestions!
Aug 7 '06 #2
Thanks Brian, that works. I was trying to find controls as I do with my
forms. Unfortunately the Wizard has password field marked as read only, so I
can't insert my generated password. Guess I will have to roll my own ceate
user form.
Thanks again.

"brians[MCSD]" wrote:
Hello Dabbler,

Couldn't you do something like:

CreateUserWizard1.UserName = "samalamdingdong";

Will prepopulate the username text box with the name.

--
brians
http://www.limbertech.com
"Dabbler" wrote:
How do I access the fields in a CreateUserWizardControl such as the UserName
textbox etc.

I need to prepopulate some data before the administrator finishes creating a
user account.

I tried something like this:

CreateUserWizardStep cuws = CreateUserWizard1.CreateUserStep;
TextBox tbUserName = (TextBox)cuws.FindControl( "UserName" );
tbUserName.Text = "samalamadingdong";

Thanks for any suggestions!
Aug 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
1
by: Norman Fritag | last post by:
Hi there I have avoided to use active x controls because I thought they are causing more problems then they are doing any good. I a new application I would want to use the tree and list view...
6
by: MS | last post by:
Access 97 here. I want a simple way to "lock" certain records on a form. Some records remain "live" until all data is available which happens over time. When all the fields are complete, I want...
5
by: jqpdev | last post by:
Hello all... I'm coming from a Borland Delphi background. Delphi has a specific component called a Data Module. In the designer the Data Module behaves like a windows form. A developer can...
1
by: bill yeager | last post by:
I did some more debugging and found the following: 1) I placed the following code in the button event just to see if I could cycle thru the datagrid control collection: <code> Dim strhello As...
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
7
by: Andy B | last post by:
I have a class I am creating for data access. I need to access controls from inside the class that are on a particular page. How do I do this? or is creating an instance of the page class and using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.