Example #1
0
        public ActionResult CMS026()
        {
            try
            {
                CMS026_ScreenParameter param = GetScreenObject <CMS026_ScreenParameter>();

                ICommonHandler            chandler = ServiceContainer.GetService <ICommonHandler>() as ICommonHandler;
                List <doPopupSubMenuList> lst      = chandler.GetPopupSubMenuList(param.PopupSubMenuID);

                ViewBag.PopupSubMenuList = lst;

                if (lst.Count > 0)
                {
                    ViewBag.PopupSubmenuName = lst[0].PopupSubmenuName;
                }
            }
            catch (Exception)
            {
                ViewBag.PopupSubMenuList = new List <doPopupSubMenuList>();
            }

            return(View());
        }