public ActionResult INTImportData() { if (Session["UserLogon"] != null) { BLINTForms objForm = new BLINTForms(); objDCFormList = new DCFormList(); int jobId = Session["Job_ID"] == null ? 0 : (int)Session["Job_ID"]; ViewBag.jobId = jobId; objDCFormList.Form = objForm.GetINTFormTempDataByJobId(jobId); TempData["DCFormList"] = objDCFormList.Form; return View(objDCFormList.Form); } else return Redirect("~/Account/Login"); } function GetINTFormTempData(JobId) { var result = null; $.ajax({ type: "GET", url: '/ImportForms/GetINTFormTempDataByJobId', data: { jobId: JobId }, async: false, traditional: false, success: function (data) { result = data; LoadINTData(result); if (result.length > 0) $(".upload").show(); else $(".upload").hide(); }, error: function (data) { alert("fail"); Success = false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)