This documentation is archived and is not being maintained.

CreateUserWizard.ContinueDestinationPageUrl Property

Gets or sets the URL of the page that the user will see after clicking the Continue button on the success page.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public virtual string ContinueDestinationPageUrl { get; set; }
/** @property */
public String get_ContinueDestinationPageUrl ()

/** @property */
public void set_ContinueDestinationPageUrl (String value)

public function get ContinueDestinationPageUrl () : String

public function set ContinueDestinationPageUrl (value : String)

Not applicable.

Property Value

The URL of the destination page. The default is Empty.

The ContinueDestinationPageUrl property contains the URL of the Web page that the user will see after successfully completing registration on your site. By setting the ContinueDestinationPageUrl property, you can control the first page that newly registered users see.

When the ContinueDestinationPageUrl property is Empty and the user clicks the Continue button, the page is refreshed and any values on the form are cleared.

This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and Introduction to ASP.NET Themes.

How to: Enable User RegistrationBuilding ASP .NET Web Applications
How to: Enable User RegistrationBuilding ASP .NET Web Applications

The following code example uses the ContinueDestinationPageUrl property to return the user to the page that the user was viewing before reaching the registration page.

<%@ page language="C#"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<script runat="server">
    void Page_Load(object sender, EventArgs e)
        if (!(Session["CreateUserReferrerUrl"] is String))
            Session["CreateUserReferrerUrl"] = Request.UrlReferrer.ToString ();

        CreateUserWizard1.ContinueDestinationPageUrl =

<html xmlns="" >
<head runat="server">
    <title>Untitled Page</title>
    <form id="form1" runat="server">
        <asp:createuserwizard id="CreateUserWizard1" runat="server">

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0