473,498 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CreateUserWizard

Hi

How can I disable the UserName option in the CreateUserWizard and use
the Email instead of UserName.

At the least how can I pass @Email as a parameter to the Stored
Procedure for Creating a new user so that I can enter it instead of
@UserName.

Dec 28 '06 #1
2 3109
On 28 Dec 2006 04:54:23 -0800, ar**@greettech.com wrote:
Hi

How can I disable the UserName option in the CreateUserWizard and use
the Email instead of UserName.

At the least how can I pass @Email as a parameter to the Stored
Procedure for Creating a new user so that I can enter it instead of
@UserName.
As far as I know, Username is required. If you'd like to use the email for
the username, then just convert the control to a template and change the
label from "UserName" to "Email".
Dec 29 '06 #2
Thanks for your reply. I got another solution

Hide the UserName textbox, remove the RequireFieldValidator for
username.
And inserting the Email as username through code as follows

protected void CreateUserWizard1_CreatingUser(object sender,
LoginCancelEventArgs e)
{
CreateUserWizard1.UserName = CreateUserWizard1.Email.ToString();
}
}

Erik Funkenbusch wrote:
On 28 Dec 2006 04:54:23 -0800, ar**@greettech.com wrote:
Hi

How can I disable the UserName option in the CreateUserWizard and use
the Email instead of UserName.

At the least how can I pass @Email as a parameter to the Stored
Procedure for Creating a new user so that I can enter it instead of
@UserName.

As far as I know, Username is required. If you'd like to use the email for
the username, then just convert the control to a template and change the
label from "UserName" to "Email".
Dec 29 '06 #3

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

Similar topics

1
5219
by: Raventhorn | last post by:
I am trying, as I can see many are, to avoid the CreateUserWizard's CreateUser step from creating the user until I am ready to do it. I have a rather complex registration because I have various...
0
1749
by: Babbage | last post by:
a login page login.aspx from there you can go to createaccount.aspx Ive got a createuserwizard on that create account page. It includes the following properties continuedestinationpageurl...
2
2242
by: Learner | last post by:
Hello, I have defined another textbox control in the CreateUserWizard control and this is how I am trying to get the value of it in the code behind page is below im myStep As...
2
4317
by: guoqi zheng | last post by:
Dear sir, I am using the createUserWizard of ASP.NET 2.0. I am trying to add two extra fields to it. FirstName and LastName. However I did not find out how can get the value out of this two...
0
1608
by: Nehpets | last post by:
I'm trying to setup a web site that uses active directory for user authentication under asp.net 2.0. For testing, I have separately installed two virtual servers. The first is a domain...
0
2005
by: Avi | last post by:
A CreateUserWizard contorl receives new user details, adds the user to the database, tries to send a confirmation mail message and stops with a "System.FormatException: The specified string is not...
2
3739
by: hardieca | last post by:
Hi! I have a CreateUserWizard control with the usual suspects of validators. As you're probably aware, each validator is associated with one of CreateUserWizard's child controls. When a user...
0
1361
by: asumal | last post by:
Hello I am new to ASP.NET. I am using CreateUserWizard control to register & create a user. I am using Membership API. I have a Cancel button on the CreateUserWizard step 2 alongwith Create User ...
0
1427
by: asumal | last post by:
Hello I am new to ASP.NET. I am using CreateUserWizard control to register & create a user. I am using Membership API. I have a Cancel button on the second step of CreateUserWizard control...
3
2576
by: Ken Fine | last post by:
I am using ASP.NET's CreateUserWizard control. I want to force the visitor to use a username and e-mail address that I am providing in programming, and I do not want the visitor to be able to edit...
0
7125
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,...
1
6890
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
5464
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,...
1
4915
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4593
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3095
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1423
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
657
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.