AjaxHelper<TModel> Constructor (ViewContext, IViewDataContainer)

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

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

public:
AjaxHelper(
	ViewContext^ viewContext, 
	IViewDataContainer^ viewDataContainer
)

Parameters

viewContext
Type: System.Web.Mvc::ViewContext

The view context.

viewDataContainer
Type: System.Web.Mvc::IViewDataContainer

The view data container.

Show: