AjaxHelper Constructor (ViewContext, IViewDataContainer)
Initializes a new instance of the AjaxHelper class using the specified view context and view data container.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public function AjaxHelper( viewContext : ViewContext, viewDataContainer : IViewDataContainer )
Parameters
- viewContext
- Type: System.Web.Mvc.ViewContext
The view context.
- viewDataContainer
- Type: System.Web.Mvc.IViewDataContainer
The view data container.
| Exception | Condition |
|---|---|
| ArgumentNullException | One or both of the parameters is a null reference (Nothing in Visual Basic). |
Show: