Share via


ViewPage<TModel>.Ajax Property

Gets or sets the AjaxHelper<TModel> object that supports rendering HTML in Ajax scenarios.

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

Syntax

'Declaration
Public Property Ajax As AjaxHelper(Of TModel)
    Get
    Set
public AjaxHelper<TModel> Ajax { get; set; }
public:
property AjaxHelper<TModel>^ Ajax {
    AjaxHelper<TModel>^ get ();
    void set (AjaxHelper<TModel>^ value);
}

Property Value

Type: System.Web.Mvc.AjaxHelper<TModel>
The Ajax helper object that is associated with the view.

See Also

Reference

ViewPage<TModel> Class

System.Web.Mvc Namespace