Register Dialog Submit Button and redirecting it

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
User avatar
mmackrell
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 50
Joined: Sun Mar 28, 2010 7:41 pm
Location: Zelienople, PA
Contact:

Register Dialog Submit Button and redirecting it

Post by mmackrell » Thu Dec 02, 2010 8:15 pm

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

User avatar
s_ismail
Commander (CMDR)
Commander (CMDR)
Posts: 162
Joined: Mon Nov 09, 2009 12:20 am
Contact:

Re: Register Dialog Submit Button and redirecting it

Post by s_ismail » Fri Dec 03, 2010 4:08 am

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"));

Post Reply