Questions tagged [createuserwizard]

132 questions
2
votes
1 answer

How can i inform ASP.NET that the a new User is created successfully?

In my webpage i use a combination of the CreateUserWizard and a custom validation module. Fortunately OR unfortunately the CreateUserWizard control sees that the user is not created successfully and displays the following message (although the user…
OrElse
  • 9,709
  • 39
  • 140
  • 253
2
votes
2 answers

CreateUserWizard - Preventing user creation if confirmation email cannot be sent

I am trying to fix the behavior of a CreateUserWizard control in ASP.NET 2.0. With a fairly naive, out-of-the-box implementation, if you enter an email address that does not exist, or there is some other error sending the email, you get a YSOD…
Eric Pohl
  • 2,324
  • 1
  • 21
  • 31
2
votes
2 answers

Prevent closing of ModalPopup on postback

I'm using the ModalPopupExtender control from the AJAX toolkit. This control extends a panel which contains a CreateUserWizard control. However, the validation of the CreateUserWizard control causes a postback to the server, which closes the popup.…
keyboardP
  • 68,824
  • 13
  • 156
  • 205
2
votes
1 answer

Refresh reCaptcha when the code is wrong

I have a page which contains Login and CreateUserWizard in UpdatePanel. I am using reCaptcha in Login control. Due to UpdatePanel, I had used the following script in code behind. if (Page.IsPostBack) { HtmlGenericControl…
Sudha
  • 505
  • 1
  • 10
  • 27
2
votes
1 answer

How to save the information from additionally added fields in CreateUserWizard in separate database, which is different from the Membership database?

I have the following problem. I am trying to create a web site with the membership authentication and I use the membership data store database to store the information from the CreateUserWizard fields. But I want to add also several more fields(for…
2
votes
1 answer

CreateUserWizard not use tables created by aspnet_regsql

How can I configure my CreateUserWizard and Login controls to use the aspnet_regsql tables? I'm using SQL Membership. I added aspnet_regsql to my project, database and configured in web.config file. When I created a new user, the CreateUserWizard…
gvd
  • 1,482
  • 6
  • 32
  • 58
2
votes
2 answers

How to set error messages from codebehind (CreateUserWizard control, using TemplateLayout)?

Users are created with a standard SQLMemberShipProvider. I've tried catching MembershipCreationStatus as well as exceptions, and when I debug the code I do get to the method that sets the messages. I set them using the properties on the…
Adam Asham
  • 1,519
  • 2
  • 20
  • 32
2
votes
2 answers

How to register a new user using asp.net(C#)?

I want to make a function to register a new user without using CreateUserWizard. How could I change my code to allow this? <%@ Page Language="C#" AutoEventWireup="true" CodeFile="registerUser.aspx.cs" Inherits="_Default" %>
Youku KMSFan
  • 67
  • 2
  • 12
2
votes
2 answers

Display message after account created

I'm having Create User Wizard inside an update panel and here is how I have done:
Kitty
  • 300
  • 3
  • 12
2
votes
1 answer

How to add destination page URL in create user wizard button?

I am trying to customize the create user Wizard control in asp. What it does is redirecting me to a continue page after creating the user, but I want a custom page to be displayed after creating a page.... What can I do?
Anudwigna
  • 55
  • 8
2
votes
5 answers

Findcontrol property not working in createUserWizard

I'm using ASP's createUserWizard control to create my users, and I'd like to add some extra fields (with extra info on the user) which I'm saving in my own table. I try to access these custom textboxes in code behind with the findContol property…
silvdb
  • 193
  • 1
  • 4
  • 11
2
votes
1 answer

create user wizard - null reference exception was unhandled by user code

I'm new to ASP.NET. I have a createUserWiazrd named RegisterUserWithRoles taken from Step 4 of this tutorial http://www.asp.net/web-forms/tutorials/security/roles/assigning-roles-to-users-cs Here is the aspx File: <%@ Page Title="" Language="C#"…
2
votes
1 answer

remove username field from the CreateUserWizard asp.net 4.0

I am developing a site where Email address should be used as the login name. Hence I am looking for options to remove the 'Username' field from the CreateUserWizard and keep only Email ID, Password,Confirm Password in the page. when I just removed…
2
votes
0 answers

CreateUserWizard and ActiveIndex in CreateUserError event

I have an CreateUserWizard, which has 4 steps, when error occured, In CreateUserError event, I want to set current step to second step, so I simply use RegisterUser.ActiveStepIndex = 1; But when error occurs wizard stay at last step at this code…
Mazdak
  • 771
  • 2
  • 11
  • 24
2
votes
2 answers

Cancel CreateUserWizard from CreatedUser Event

I am using a CreateUserWizard together with a custom MembershipProvider to add a user to our database. Currently the user is successfully added to the database and I am using the CreatedUser event to store the additional information captured on the…
oliver
  • 157
  • 2
  • 8
1
2
3
8 9