Wizard.CancelDestinationPageUrl Property

Definition

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

C#
[System.Web.UI.Themeable(false)]
public virtual string CancelDestinationPageUrl { get; set; }

Property Value

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

Attributes

Remarks

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 ASP.NET Themes and Skins.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also