Пример #1
0
        //[DashboardItem]
        public virtual ActionResult List(ListLogs request)
        {
            string pageHtml = string.Empty;

            if (ModelState.IsValid)
            {
                ModelState.Clear();
                request.Query(out pageHtml);
                ViewBag.pageHtml = MvcHtmlString.Create(pageHtml);
            }
            request.Ready();
            return(View("List", request));
        }
 private void BindListView()
 {
     ListLogs.DataSource = ViewState["listLogs"];
     ListLogs.DataBind();
 }