Ejemplo n.º 1
0
        static ConfigDataController()
        {
            ListFields.AddField("Scope", "Value");

            AddFormFields.RemoveCreateField();
            AddFormFields.RemoveField("Version");

            EditFormFields.RemoveCreateField();
            EditFormFields.RemoveUpdateField();
            EditFormFields.RemoveField("Version");
        }
Ejemplo n.º 2
0
        static ConfigDataController()
        {
            ListFields.AddDataField("Value", null, "Scope");
            ListFields.AddDataField("NewValue", null, "NewStatus");
            //ListFields.RemoveField("Remark");
            ListFields.RemoveField("CreateIP", "UpdateIP");

            AddFormFields.RemoveCreateField();
            AddFormFields.RemoveUpdateField();
            AddFormFields.RemoveField("Version", "NewVersion", "NewValue", "NewStatus");

            EditFormFields.RemoveCreateField();
            EditFormFields.RemoveUpdateField();
            EditFormFields.RemoveField("Version", "NewVersion");

            {
                var df = EditFormFields.GetField("Value");
                df.Readonly = true;
            }
        }