This documentation is archived and is not being maintained.

Wizard.CancelDestinationPageUrl Property

Gets or sets the URL that the user is directed to when they click the Cancel button.

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

[ThemeableAttribute(false)] 
public virtual string CancelDestinationPageUrl { get; set; }
/** @property */
public String get_CancelDestinationPageUrl ()

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

public function get CancelDestinationPageUrl () : String

public function set CancelDestinationPageUrl (value : String)

Not applicable.

Property Value

The URL that the user is redirected to when they click Cancel on the Wizard. The default is an empty string ("").

The CancelDestinationPageUrl property specifies the step that is displayed when the user clicks the Cancel button on the Wizard control. If the DisplayCancelButton property is set to true and the CancelDestinationPageUrl property is not set, the Web page is refreshed and the OnCancelButtonClick event is raised.

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

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
Show: