Basically, what I've posted here is where I first had the problem. I had started playing with the CSK2.0 and I had added the CSS Friendly Adapters to it. After testing the user creation and having an issue with it (after a HUGE headache) I tried to make a new project (CSS Friendly Starter Kit) and just dragged the create user wizard on it and had the same problem. Commented out the CreateUserWizard lines in the CSSFriendlyAdapters.browser file and everything was hunky dory. Did the same with the project I was working on and it also fixed the issue.
However, here is the code from the Register page. Maybe someone out there can give some insight as to why this is happening.
<%@ Page Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Login" Title="Commerce Starter Kit Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="leftcontent"></div>
<div id="centercontent">
<table align="center" class="logtable">
<tr>
<td class="loginheader">Register
</td>
</tr>
<tr>
<td class="logincell">
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" CreateUserButtonText="Continue" ContinueDestinationPageUrl="~/default.aspx" CancelDestinationPageUrl="~/default.aspx">
<WizardSteps>
<asp:CreateUserWizardStep runat="server">
</asp:CreateUserWizardStep>
<asp:CompleteWizardStep runat="server">
</asp:CompleteWizardStep>
</WizardSteps>
</asp:CreateUserWizard>
</td>
</tr>
</table>
</div>
</asp:Content>
1 using System;
2 using System.Data;
3 using System.Configuration;
4 using System.Collections;
5 using System.Web;
6 using System.Web.Security;
7 using System.Web.UI;
8 using System.Web.UI.WebControls;
9 using System.Web.UI.WebControls.WebParts;
10 using System.Web.UI.HtmlControls;
11 using Commerce.Stats;
12
13 public partial class Login : System.Web.UI.Page
14 {
15 protected void Page_Load(object sender, EventArgs e)
16 {
17 string redir = Utility.GetParameter("ReturnUrl");
18 if (!String.IsNullOrEmpty(redir))
19 {
20 CreateUserWizard1.ContinueDestinationPageUrl = redir;
21 }
22
23 }
24
25 protected void NewRegistration(object sender, EventArgs e) {
26 string redir = Utility.GetParameter("ReturnUrl");
27 if (redir != string.Empty) {
28 Response.Redirect(redir, false);
29 } else {
30 Response.Redirect("default.aspx", false);
31 }
32 }
33 }
34