From 7b4e27b907e59f23bb065e5dfe4bfbf73cea4d2d Mon Sep 17 00:00:00 2001 From: iyak Date: Tue, 25 Feb 2025 01:22:13 +0000 Subject: [PATCH] =?UTF-8?q?6570.=20FO=20=ED=8C=8C=EC=9D=BC=EB=8B=A4?= =?UTF-8?q?=EC=9A=B4=EB=A1=9C=EB=93=9C=20Response.ContentType=20=3D=20"tex?= =?UTF-8?q?t/plain"=20=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20(=EC=B6=94?= =?UTF-8?q?=EA=B0=80=EC=98=A4=EB=A5=98=EC=8B=9C=20ContentType=20=EB=B3=84?= =?UTF-8?q?=EB=A1=9C=20=EB=82=98=EB=88=84=EB=8A=94=20=EC=9E=91=EC=97=85?= =?UTF-8?q?=EC=9D=84=20=ED=95=B4=EC=95=BC=ED=95=A8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Base/Controller/FOCommon.cs | 3 ++- FO/Views/CRoom/EstimationSubject.cshtml | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Base/Controller/FOCommon.cs b/Base/Controller/FOCommon.cs index 7468510..4b609a0 100644 --- a/Base/Controller/FOCommon.cs +++ b/Base/Controller/FOCommon.cs @@ -94,7 +94,8 @@ namespace NP.Base.Controllers Response.Clear(); Response.ClearHeaders(); Response.ClearContent(); - Response.ContentType = "Application/octet-stream"; + //Response.ContentType = "Application/octet-stream"; + Response.ContentType = "text/plain"; Response.AppendHeader("Content-Disposition", "attachment;filename=" + Server.UrlEncode(file.orgname)); Response.AppendHeader("Content-Length", file.filesize.ToString()); Response.TransmitFile(string.Format("{0}", fileurl)); diff --git a/FO/Views/CRoom/EstimationSubject.cshtml b/FO/Views/CRoom/EstimationSubject.cshtml index 53474bd..b14a230 100644 --- a/FO/Views/CRoom/EstimationSubject.cshtml +++ b/FO/Views/CRoom/EstimationSubject.cshtml @@ -25,8 +25,8 @@ @Html.Raw((Model.LectSD.sddesc ?? "").Replace(System.Environment.NewLine, "
")) - @* // [start] pms 6523 - 양식파일 삭제처리 요청 건 *@ - @*@if (Model.LectSD.sdfgno != null && Model.FileList.Where(w => w.fgno == Model.LectSD.sdfgno).Count() > 0) + + @if (Model.LectSD.sdfgno != null && Model.FileList.Where(w => w.fgno == Model.LectSD.sdfgno).Count() > 0) { @@ -36,8 +36,8 @@ } - }*@ - @* // [end] pms 6523 - 양식파일 삭제처리 요청 건 *@ + } +