Freigeben über


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)

Syntax

'Declaration
Public Property Confirm As String
    Get
    Set
public string Confirm { get; set; }
public:
property String^ Confirm {
    String^ get ();
    void set (String^ value);
}

Property Value

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

Remarks

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.

See Also

Reference

AjaxOptions Class

System.Web.Mvc.Ajax Namespace