Hi
aspose.cells not work in chrome,what`s wrong?
Error Message as below:
Failed to load resource: net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITIONFailed to load resource: net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
My Code as below:
HttpContext curContext = HttpContext.Current;
string strHZ = string.Format("{0:yyyy-MM-dd_HHmmss}", DateTime.Now);
strFileName = strFileName + "_" + strHZ;// +".xlsx";
curContext.Response.ContentType = "application/vnd.ms-excel";
curContext.Response.ContentEncoding = Encoding.UTF8;
curContext.Response.Charset = "GB2312";
curContext.Response.AppendHeader("Content-Disposition", "attachment;filename=" + HttpUtility.UrlEncode(strFileName, Encoding.UTF8) + ".xlsx");
workbook.Save(curContext.Response, strFileName, ContentDisposition.Attachment, new OoxmlSaveOptions());
curContext.Response.End();