Anand Anand

Anand Anand

  • NA
  • 2
  • 378

In Visualforce page, Attached code is available. where Expo

Dec 6 2019 8:34 AM
In Visualforce page,

Attached code is available. where Export to Excel functionality is not working only in IE11 Browser but for other browser its working.
can any one help me on this.
please refer line code no: 267-274
if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) // If Internet Explorer
{
txtArea1.document.open("txt/html","replace");
txtArea1.document.write(tab_text);
txtArea1.document.close();
txtArea1.focus();
sa=txtArea1.document.execCommand("SaveAs",true,"Portfolio Report.xls");
}
 
 
Note: I tried to upload zipfile but post is not creating or updating with attachment file.
 

Answers (1)