public void ActionIndex(FormTextModel model)
        {
            if (!CPViewPage.IsPostBack && !string.IsNullOrEmpty(model.Value))
               model.Value = Global.Data.Base64Decode(model.Value.Replace(" ","+"));

            ViewBag.Model = model;
        }
示例#2
0
        public void ActionIndex(FormTextModel model)
        {
            if (!CPViewPage.IsPostBack && !string.IsNullOrEmpty(model.Value))
            {
                model.Value = Global.Data.Base64Decode(model.Value.Replace(" ", "+"));
            }

            ViewBag.Model = model;
        }
示例#3
0
        public void ActionApply(FormTextModel model)
        {
            if (string.IsNullOrEmpty(model.Value))
            {
                CPViewPage.Alert("Nhập nội dung");
                return;
            }

            CPViewPage.Script("Close", "Close('" + Global.Data.Base64Encode(model.Value) + "')");
        }
        public void ActionApply(FormTextModel model)
        {
            if (string.IsNullOrEmpty(model.Value))
            {
                CPViewPage.Alert("Nhập nội dung");
                return;
            }

            CPViewPage.Script("Close", "Close('" + Global.Data.Base64Encode(model.Value) + "')");
        }