public IList<Cms_Category> GetData(int maxRows, int startIndex)
        {
            this.MaxRows = maxRows;
            this.StartIndex = startIndex;

            _presenter = new CategoryListPresenter(this);
            //  Filter = Session["UserManage_Realname"].ToString2();
            _presenter.GetAllList();
            IList<Cms_Category> list = this.List;
            return list;
        }
 protected void DotNetCustomCalDotNetack_CustomCalDotNetack(object sender, Controls.CustomCalDotNetack.DotNetCustomCalDotNetack.CustomCalDotNetackEventArgs e)
 {
     string action = e.Parameters;
     string[] actarr = action.Split('_');
     switch (actarr[0])
     {
         case "del":
             _presenter = new CategoryListPresenter(this);
             bool result = Delete(actarr[1]);
             CalDotNetack.CalDotNetackResult.Result = result.ToString();
             CalDotNetack.CalDotNetackResult.IsRefresh = result;
             break;
         case "edit":
             CalDotNetack.CalDotNetackResult.Result = "true";
             break;
         case "search":
             DataSearch();
             break;
     }
 }