I'm creating a PDF object in a partial with a base64-encoded string. It renders perfectly fine on Chrome, but all I get is a grey box in IE11. This is the HTML for the partial view:
@model byte[]
@{
String base64EncodedPdf = System.Convert.ToBase64String(Model);
Layout = null;
}
<object data="data:application/pdf;base64,@base64EncodedPdf" width="900" height="900"
type="application/pdf"></object>