AjaxHelper AjaxHelper Constructors

Definition

Overloads

AjaxHelper(ViewContext, IViewDataContainer) AjaxHelper(ViewContext, IViewDataContainer)

Initializes a new instance of the AjaxHelper class using the specified view context and view data container.

AjaxHelper(ViewContext, IViewDataContainer, RouteCollection) AjaxHelper(ViewContext, IViewDataContainer, RouteCollection)

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

AjaxHelper(ViewContext, IViewDataContainer) AjaxHelper(ViewContext, IViewDataContainer)

Initializes a new instance of the AjaxHelper class using the specified view context and view data container.

public AjaxHelper (System.Web.Mvc.ViewContext viewContext, System.Web.Mvc.IViewDataContainer viewDataContainer);
new System.Web.Mvc.AjaxHelper : System.Web.Mvc.ViewContext * System.Web.Mvc.IViewDataContainer -> System.Web.Mvc.AjaxHelper

Parameters

viewContext
ViewContext ViewContext

The view context.

viewDataContainer
IViewDataContainer IViewDataContainer

The view data container.

Exceptions

One or both of the parameters is null.

AjaxHelper(ViewContext, IViewDataContainer, RouteCollection) AjaxHelper(ViewContext, IViewDataContainer, RouteCollection)

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

public AjaxHelper (System.Web.Mvc.ViewContext viewContext, System.Web.Mvc.IViewDataContainer viewDataContainer, System.Web.Routing.RouteCollection routeCollection);
new System.Web.Mvc.AjaxHelper : System.Web.Mvc.ViewContext * System.Web.Mvc.IViewDataContainer * System.Web.Routing.RouteCollection -> System.Web.Mvc.AjaxHelper

Parameters

viewContext
ViewContext ViewContext

The view context.

viewDataContainer
IViewDataContainer IViewDataContainer

The view data container.

routeCollection
RouteCollection RouteCollection

The URL route collection.

Exceptions

One or more of the parameters is null.

Applies to