Wizard.CancelDestinationPageUrl Property


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

 virtual property System::String ^ CancelDestinationPageUrl { System::String ^ get(); void set(System::String ^ value); };
public virtual string CancelDestinationPageUrl { get; set; }
member this.CancelDestinationPageUrl : string with get, set
Public Overridable Property CancelDestinationPageUrl As String

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

Applies to

See also