473,564 Members | 2,768 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CreateUserWizar d

Hi

How can I disable the UserName option in the CreateUserWizar d 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 3129
On 28 Dec 2006 04:54:23 -0800, ar**@greettech. com wrote:
Hi

How can I disable the UserName option in the CreateUserWizar d 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 RequireFieldVal idator for
username.
And inserting the Email as username through code as follows

protected void CreateUserWizar d1_CreatingUser (object sender,
LoginCancelEven tArgs e)
{
CreateUserWizar d1.UserName = CreateUserWizar d1.Email.ToStri ng();
}
}

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 CreateUserWizar d 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
5224
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 different types of registration, one for organizations (in which they provide alot of profile data on their organization) and individuals. I would like...
0
1758
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 = "~/home.aspx"
2
2246
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 CreateUserWizardStep = New CreateUserWizardStep Dim DealerShipIDvalue As TextBox = myStep.ContentTemplateContainer.FindControl("_txtDealerShipID") Dim dealer As...
2
4321
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 addtional fields? I tried Dim ctlFirstName As TextBox = CType(CreateUserWizard1. FindControl("txtFirstName"), TextBox)
0
1615
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 controller in a new forest named VSERVER00 running Windows Server 2003 R2 Standard. The second is an application server running IIS in the same domain,...
0
2011
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 in the form required for an e-mail address." Any ideas? --------------------------------------------------------- The CreateUserWizard...
2
3743
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 clicks on the Create User button on the first page, validation occurs with javascript turning on a ValidationSummary, so no postback occurs. For...
0
1369
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 button & Previous button. Actually, i have added some more textboxes on the default control for taking user's personal information. The problem is...
0
1432
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 alongwith Create User button & Previous button. Actually, i have added some more textboxes on the default control for taking user's personal information. The...
3
2581
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 the forms input. I am aware that I can roll my own Create User form by using the membership API, but I am lazy and want to use most of the...
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7642
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
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 we have to send another system
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.