Page 1 of 1

Register Dialog Submit Button and redirecting it

Posted: Thu Dec 02, 2010 8:15 pm
by mmackrell
Hi All,

I am guessing this is something easy, but I am not seeing where I can change this...

We deal with a lot of customers that are not tech savvy and there has been some confusion that when a user registers, they need to fill out their shipping information. Anyway... I am putting the login and register boxes on their own pages, but I want the register submit button to take me to the "My Address Book" page so they can edit their addresses immediately upon becoming a new user. I am not seeing where to do this at.

I have looked in the registerdialog.aspx and registerdialog.aspx.cs files, and the closest thing I could find is this:

Code: Select all

FormsAuthentication.RedirectFromLoginPage(userName, false);
. For the life if me, I have no idea where to look for FormsAuthentication or RedirectFrom...

Any help would be greatly appreciated.

Thanks in Advance,
Margie

Re: Register Dialog Submit Button and redirecting it

Posted: Fri Dec 03, 2010 4:08 am
by s_ismail
You just need to add this code

Code: Select all

Response.Redirect(ResolveClientUrl("~/Members/MyAddressBook.aspx"));
Like this

Code: Select all

 //REDIRECT TO APPROPRIATE PAGE
           //FormsAuthentication.RedirectFromLoginPage(userName, false);
           Response.Redirect(ResolveClientUrl("~/Members/MyAddressBook.aspx"));