Gets or sets the URL of the page displayed to the user when a login attempt is successful.
Assembly: System.Web (in System.Web.dll)
[<ThemeableAttribute(false)>] abstract DestinationPageUrl : string with get, set [<ThemeableAttribute(false)>] override DestinationPageUrl : string with get, set
The property specifies the page that is displayed when a login attempt is successful.
The property overrides the default behavior of the Login control, as well as the defaultUrl setting made in the configuration file.
|Walkthrough: Managing Web Site Users with Roles||Building ASP .NET Web Applications in Visual Studio|
The following code example sets the property. The Page_Load method is used to attach the URL of the referring page to the URL of the destination page so that the destination page can return the user to the original page if desired.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.