did not reference Syncfusion ‘ejScrollbar’
<body>
<div id="dashboard" style="width:100%; min-height:800px;"></div>
<script type="text/javascript">
var browser = ej.browserInfo();
if (browser != null && browser.name === "msie" && parseFloat(browser.version) <= 8.0) {
var divString = '<div style="top:20%;width:575px;margin:0px auto;position:relative;text-align:center">' +
'<div style="padding:35px 68px 35px 68px;" class="e-dbrd-control-container">' +
'<p style="font-size:18px;font-weight:bold">Internet Explorer 8 and Internet Explorer 11 in Enterprise Mode are not supported</p>' +
'<p style="font-size:10px">Please upgrade to a newer browser if you are using IE8 or turn off Enterprise Mode if you are using IE11 in Enterprise Mode.</p>' +
'<p style="text-align:left;margin-top:20px">Supported Browsers:</p><div class="alert-ie">' +
'<div><span><img src="@Url.Content("~/themes/common-images/IE.png")" /></span><p>Internet Explorer 9+</p> </div> ' +
'<div><span><img src="@Url.Content("~/themes/common-images/Edge.png")"/> </span><p>Microsoft Edge</p></div>' +
'<div><span><img src="@Url.Content("~/themes/common-images/Firefox.png")" /></span><p>Mozilla Firefox 22+</p></div>' +
'<div><span><img src="@Url.Content("~/themes/common-images/Chrome.png")" /></span><p>Chrome 17+</p></div>' +
'<div><span><img src="@Url.Content("~/themes/common-images/Opera.png")" /></span><p>Opera 12+</p></div>' +
'<div><span><img src="@Url.Content("~/themes/common-images/Safari.png")" /></span><p>Safari 5+</p></div></div></div>'
var body = document.getElementById("dashboard");
body.style.backgroundColor = "blue";
body.innerHTML = divString;
}
else {
$(document).ready(function () {
if ('@ViewBag.ServieURL' == '') {
alert('@ViewBag.Errormessage');
return;
}
$('#dashboard').ejDashboardViewer({ url: "@ViewBag.ServieURL", report: "@ViewBag.ReportPath", filterParameters: location.search.substr(1) });
});
}
</script>
</body>
Attachment:
err_3866e4cd.zip