// GET: Fallback public ActionResult Index() { var context = MvcRenderingContext.GetFromViewContext(this.ControllerContext.ParentActionViewContext); var gridContext = GridContext.GetFromRenderingContext(context); return(View(ViewName, null)); }
private static HtmlHelper CreateHtmlHelper(MvcRenderingContext mvcContext) { return(new HtmlHelper(mvcContext.ViewContext, mvcContext.ViewDataContainer)); }
public C1View(MvcRenderingContext mvcContext) { _mvcContext = mvcContext; }