CreateUserWizard.ContinueDestinationPageUrl Property
Assembly: System.Web (in system.web.dll)
'Declaration <ThemeableAttribute(False)> _ Public Overridable Property ContinueDestinationPageUrl As String 'Usage Dim instance As CreateUserWizard Dim value As String value = instance.ContinueDestinationPageUrl instance.ContinueDestinationPageUrl = value
/** @property */ public String get_ContinueDestinationPageUrl () /** @property */ public void set_ContinueDestinationPageUrl (String value)
public function get ContinueDestinationPageUrl () : String public function set ContinueDestinationPageUrl (value : String)
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 ASP.NET Themes and Skins Overview.
| Topic | Location |
|---|---|
| How to: Enable User Registration | Building ASP .NET Web Applications |
| How to: Enable User Registration | Building 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="VB"%> <script runat="server"> Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) If Not Session("CreateUserReferrerUrl") Is Nothing Then Session("CreateUserReferrerUrl") = Request.UrlReferrer.ToString() End If CreateUserWizard1.ContinueDestinationPageUrl = _ CStr(Session("CreateUserReferrerUrl")) End Sub </script> <html> <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:createuserwizard id="CreateUserWizard1" runat="server"> </asp:createuserwizard> </div> </form> </body> </html>
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.