I need to use the AjaxHelper in my "code behind" but I'm having trouble with creating a new instance.
The constructor that I'd like to use looks like this:
public AjaxHelper (System.Web.Mvc.ViewContext viewContext, System.Web.Mvc.IViewDataContainer viewDataContainer);
and so far this is what I've got, not sure the first parameter is even correct..
var ajaxHelper = new AjaxHelper(this.ControllerContext.ParentActionViewContext,??);
How do I create a new AjaxHelper correctly?