create your own

Customizing a create user wizard for your website

65
rate or flag this page

By runsrealfast

Customizing a create user wizard for your website

 As I was creating a website that required me to capture more user information than just username, password, email, etc. I wanted the person’s name, location and a few other pieces of information that are relevant to my site. I started looking at the create user wizard in asp.net web development. The issue I had was that there are ways to “customize” it but it requires a bunch of code writing that I just didn’t want to do. I came up with an idea. Use the .net pre-built tools for user login and creation and add additional “steps” to the create user wizard. Let me show you.

First step is to create a page that has the create user wizard.

 


 

There are a couple of properties to take note of here, because I have made some changes to this control. 1st property would be the “ContinueDestinationPageUrl”. This property is just as it sounds – where to send the user after they have finished. I have chosen to send the user to the second step a page that I have called createAdditionalUserInfo.aspx.

 

The other thing I did was I customized the CompleteSuccessText property. I gave it a custom message that indicates that there is more for the user to do.

 

Now on the createAdditionalUserInfo.aspx page I have just inserted some custom code on the fields I wanted to add. I simply created a DAL and a BLL. (For more information on how to do that please see www.asp.net/learn)

 

This works real well for me I have followed the statement that the best programmers are the laziest programmers. The other nice thing is that the additional information I put into a separate table in the database.  

Print   —   Rate it:  up  down  flag this hub

Comments

RSS for comments on this Hub

No comments yet.

Submit a Comment

Members and Guests

Sign in or sign up and post using a hubpages account.


optional


  • No HTML is allowed in comments, but URLs will be hyperlinked
  • Comments are not for promoting your hubs or other sites

working