I have a module I wrote to use for an eCommerce checkout. This module has multiple controls (enter address, confirm, and receipt). These are each defined in the .DNN file under a single package that contains a moduleControl tag for each control.
I am having a problem when moving from the Enter Address View to the Confirm View. There is a button on the address form to submit. When submitted a function is called that moves the user to the Confirm step. In this function the user is redirected with the following line:
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL("Confirm", String.Format("mid={0}", ModuleId)));
Is this the correct way to move between the views in the module?
This works in one respect, the user is redirected to the Confirm step, but fails because the Skin file that is defined in the Page Appearance section is not applied. When I get to the confirm step, I see the default skin that is used in the Admin area of the site instead of my selected skin. If I am logged in as an admin at this point, I can choose the "Page Appearance" option and can see that the correct skin is selected. Although it is selected, it is not applied after moving to the second step of the checkout.
I have debugged and took a look at the log file. In both cases I don't see any errors.
How do I make it so the correct skin is applied?