I have the following:
protected void btnRegisterPage1_Click(object sender, EventArgs e)
{
string UserId = this.txtUserName.Text;
MembershipUser user = Membership.CreateUser(UserId, UserId, txtEmail.Text);
if (user != null)
{
FormsAuthentication.Authenticate(UserId, UserId);
WebProfile Profile = new WebProfile();
Profile.Initialize(UserId, true);
Profile.FirstName = this.txtFirstName.Text;
Profile.LastName = this.txtLastName.Text;
Profile.Newsletter = this.chkNewsLetter.Checked;
Profile.Email = this.txtEmail.Text;
Profile.Save();
}
I need to add a second page for the location of the user.
Should I redirect them using redirect.response and get the userid
and then do
protected void btnRegisterPage2_Click(object sender, EventArgs e)
{
I am not sure what do here.
}
...
Go to the complete details ...