0
Ie9, Chrome и Firefox могут открывать новую вкладку с приведенным ниже кодом, но Ie11 принудительно загружает вместо открытой новой вкладки.ASP: NET MVC: return file: internet explorer 11 новая вкладка?
byte[] fileBytes = System.IO.File.ReadAllBytes(contentDetailInfo.ContentFilePath);
Response.AppendHeader("Content-Disposition", "inline; filename=" + contentDetailInfo.ContentFileName);
return File(fileBytes, contentDetailInfo.ContentFileMimeType);