AjaxOptions::Confirm Property

Gets or sets the message to display in a confirmation window before a request is submitted.

Namespace:  System.Web.Mvc.Ajax
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public:
property String^ Confirm {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
The message to display in a confirmation window.

If this property is empty, the user is not prompted. If this property is set, the user is prompted before the OnBegin function is called.

Show: