Ejemplo n.º 1
0
        } //End Constructor 2

        //Set Json
        private void setJson()
        {
            this.oData_json = new JsonVM();
            if (this.oData == null)
            {
                this.oData = new TaskVM();
            }
            this.oData_json.result = this.oData;
            if (this.oData.DETAIL == null)
            {
                this.oData.DETAIL = new List <TaskdVM>();
            }
            this.oData_json.result_detail          = this.oData.DETAIL;
            this.oData_json.result_detail_template = new TaskdVM();
            ViewBag.JSON = JsSerialize.Serialize(this.oData_json);
        } //End method
Ejemplo n.º 2
0
        } //End method

        private void setJson_progresssts()
        {
            this.oData_json          = new JsonVM();
            this.oData_json.result   = this.oDSProgresssts.getDatalist_lookup();
            ViewBag.JSON_PROGRESSSTS = JsSerialize.Serialize(this.oData_json);
        } //End method