Hi,
We have used HTMLPane to display the pdf report on the client side. I have used setContents() API to get the report. In this method we are sending below html file:
String htmlText = "<html><head>\n";
htmlText += "</head><body onload = \"hideLoading();\">\n";
htmlText += "<div id=\"loading\" align=\"center\">\n";
htmlText += "<div class=\"loadingIndicator\" align=\"center\" vertical-align=\"middle\" >\n";
htmlText += "<img src=\"images/app_loading.gif\" width=\"48\" height=\"48\" style=";
htmlText += "\"margin-right: 8px;float: left; vertical-align: center;\"/>\n";
htmlText += "</div></div>\n";
htmlText += "<iframe id =\"imageframe\" src=\"";
htmlText += url + "?paramKey=" + key + "\" style=\"width:100%; height:100%\" frameborder=\"0\"></iframe>\n";
htmlText += "</body></html>";
The issue is that on some machine it is working for IE but on another machine it is not working. But in Firefox it is working correctly.
Please let me know the solution, it will be greatfull you.
We have used HTMLPane to display the pdf report on the client side. I have used setContents() API to get the report. In this method we are sending below html file:
String htmlText = "<html><head>\n";
htmlText += "</head><body onload = \"hideLoading();\">\n";
htmlText += "<div id=\"loading\" align=\"center\">\n";
htmlText += "<div class=\"loadingIndicator\" align=\"center\" vertical-align=\"middle\" >\n";
htmlText += "<img src=\"images/app_loading.gif\" width=\"48\" height=\"48\" style=";
htmlText += "\"margin-right: 8px;float: left; vertical-align: center;\"/>\n";
htmlText += "</div></div>\n";
htmlText += "<iframe id =\"imageframe\" src=\"";
htmlText += url + "?paramKey=" + key + "\" style=\"width:100%; height:100%\" frameborder=\"0\"></iframe>\n";
htmlText += "</body></html>";
The issue is that on some machine it is working for IE but on another machine it is not working. But in Firefox it is working correctly.
Please let me know the solution, it will be greatfull you.
Comment