Partager via


AjaxOptions.OnBegin Property

Gets or sets the name of the JavaScript function to call immediately before the page is updated.

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

Syntax

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

Property Value

Type: System.String
The name of the JavaScript function to call before the page is updated.

Remarks

The JavaScript function is called by MVC after the HttpRequest object is instantiated but before it is invoked.

See Also

Reference

AjaxOptions Class

System.Web.Mvc.Ajax Namespace