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 - 양식파일 삭제처리 요청 건 *@ + } +