Given my registration page:
<asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server">
<ContentTemplate>
<span class="defHead">Thank You!</span><br /><br />
You are now registered on our system.<br /><br />
</ContentTemplate>
</asp:CompleteWizardStep>
</WizardSteps>
<CreateUserButtonStyle CssClass="searchBtn" Width="120" Height="26" />
<ContinueButtonStyle CssClass="searchBtn" Width="120" Height="26" />
I want to redirect the user if a condition is met, and they are at the above step. I've tried:
protected void Page_Load(object sender, EventArgs e)
{
if (CompleteWizardStep1.Visible)
{
Response.Redirect("viewBasket.aspx?action=news");
}
But with no luck! Can't seem to find anything.