I am trying to create a website which will allow users to register, log in, change password, etc.
Currently i am creating the register process, and i am doing this by using a custom CreateUserWizard in order to avoid the default buttons that is inserts.
I have successfully created the custom CreateUserWizardStep and when i run the page from VS 2010, i see all the controls on the webpage, that is, Username, email, password, etc textbox-controls.
I didn't want to use the default Create User button that the CreateUserWizard control inserts, and so i put an asp button with ID="Next" Text=Create User and CommandName=MoveNext
Note that I still haven't written code to store the user's credentials in the database yet. I don't want to do that yet.
I also have created the CompleteWizardStep,which follows the CreateUserWizardStep, containing an asp Literal saying that the account was created successfully, when the account will be created, that is when i will also implement the storing of user's credentials into the database that i have created, cause i don't want to use the default one that the .NET framework provides. I will use SQLMembership Provider, but my own database.
When i click the Create User button (i remind that is not the default button of the CreateUserWizard , but an asp button that i inserted), the message in the CompleteWizardStep control doesn't show up at all on the browser. So i assumed that the CompleteWizardStep control is not working.
And my question is why is this happening?
Is it because i haven't implemented yet the storing of data into the database and that way the CreateUserWizard control detects this fact and doesn't move to the CompleteWizardStep ?
If so, how the CreateUserWizard control detects that the data were stored successfully into the databse?
Shouldn't the CompleteWizardStep control run immediately after the Create User button is clicked?
If not so, what am i doing wrong?
If you need code sample i can provide it, but i didn't do so because this is more like a general question i am putting here.