AjaxHelper<'TModel> Constructor

 

Initializes a new instance of the AjaxHelper<'TModel> class.

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

NameDescription
System_CAPS_pubmethodAjaxHelper<'TModel>(ViewContext, IViewDataContainer)

Initializes a new instance of the AjaxHelper<'TModel> class by using the specified view context and view data container.

System_CAPS_pubmethodAjaxHelper<'TModel>(ViewContext, IViewDataContainer, RouteCollection)

Initializes a new instance of the AjaxHelper<'TModel> class by using the specified view context, view data container, and URL route collection.

Return to top

AjaxHelper<'TModel> Constructor (ViewContext, IViewDataContainer)

Initializes a new instance of the AjaxHelper<'TModel> class by using the specified view context and view data container.

No code example is currently available or this language may not be supported.

Parameters

viewContext
Type: System.Web.Mvc.ViewContext

The view context.

viewDataContainer
Type: System.Web.Mvc.IViewDataContainer

The view data container.

Return to top

AjaxHelper<'TModel> Constructor (ViewContext, IViewDataContainer, RouteCollection)

Initializes a new instance of the AjaxHelper<'TModel> class by using the specified view context, view data container, and URL route collection.

No code example is currently available or this language may not be supported.

Parameters

viewContext
Type: System.Web.Mvc.ViewContext

The view context.

viewDataContainer
Type: System.Web.Mvc.IViewDataContainer

The view data container.

routeCollection
Type: System.Web.Routing.RouteCollection

The URL route collection.

Return to top
Show: