Esempio n. 1
0
        // GET: Fallback
        public ActionResult Index()
        {
            var context     = MvcRenderingContext.GetFromViewContext(this.ControllerContext.ParentActionViewContext);
            var gridContext = GridContext.GetFromRenderingContext(context);

            return(View(ViewName, null));
        }
Esempio n. 2
0
 private static HtmlHelper CreateHtmlHelper(MvcRenderingContext mvcContext)
 {
     return(new HtmlHelper(mvcContext.ViewContext, mvcContext.ViewDataContainer));
 }
Esempio n. 3
0
 public C1View(MvcRenderingContext mvcContext)
 {
     _mvcContext = mvcContext;
 }