Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 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.

ExceptionCondition
ArgumentNullException

One or both of the parameters is null.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.