//public ActionResult Load_Employee_Report_IFrameAll(string containerId, string Scheme_Id)
        //{
        //    if (string.IsNullOrEmpty(Scheme_Id))
        //    {
        //        X.Msg.Show(new MessageBoxConfig
        //        {
        //            Title = "Error",
        //            Message = "Select GL Account.",
        //            Buttons = MessageBox.Button.OK,
        //            Icon = MessageBox.Icon.INFO,
        //            Width = 350

        //        });
        //        return this.Direct();
        //    }
        //    GlobalValue.Report_Param_1 = Scheme_Id;
        //    GlobalValue.Report_Index_Id = "employee_ledgerAll";

        //    this.GetCmp<Panel>(containerId).LoadContent(new ComponentLoader
        //    {
        //        Url = Url.Action("Load_Employee_Report"),
        //        DisableCaching = true,
        //        Mode = LoadMode.Frame
        //    });
        //    return this.Direct();

        //}

        public ActionResult ReadSF()
        {
            try
            {
                return(this.Store(SFRepo.GetSchemeFundListscheme()));
            }
            catch (System.Exception)
            {
                throw;
            }
        }
Example #2
0
 public ActionResult ReadSF()
 {
     try
     {
         X.Mask.Hide();
         Store store = X.GetCmp <Store>("TBAccountSFStore_scheme");
         store.RemoveAll();
         return(this.Store(SFRepo.GetSchemeFundListscheme()));
     }
     catch (System.Exception)
     {
         X.Mask.Hide();
         throw;
     }
 }