ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: mben on April 27, 2014, 11:14:29 am
-
Using the row editor example with MVC I am getting this error when using IE 11. In firefox it is coming up Ok.
Unhandled exception at line 9, column 48390 in http://localhost:53009/Scripts/pqgrid.min.js
0x800a139e - JavaScript runtime error: Error : Not Found
These are the included scripts
<link rel="stylesheet" href="~/Content/themes/base/jquery-ui.css" />
<script type="text/javascript" src="~/scripts/jquery-2.1.0.min.js"></script>
<script src="~/Scripts/jquery-ui-1.10.4.min.js"></script>
<link href="~/Content/Site.css" rel="stylesheet" />
<!--ParamQuery Grid files-->
<link rel="stylesheet" href="~/Content/themes/base/pqgrid.css" />
<script src="~/Scripts/pqgrid.min.js"></script>
Thank you
-
From the error it looks like the url is not working correctly in ie11. For more detailed information about the error you could use dev version of the script and look for any other errors in IE console.
Is it absolute or relative url? Does it point to filesystem
-
retried with pqgrid.dev.js
line 2888
error: function(B, D, C) {
r.hideLoading();
r.loading = false;
if (typeof t.error == "function") {
t.error.call(r.element, B, D, C)
} else {
if (C != "abort") {
throw ("Error : " + C) // This is the line that throws the error
}
}
}
-
I have a working example now and this error is not coming out any longer.
Pointers:
Now set up as an MVC 4.0 solution (the one with the error was MVC 4.5), also the controller the service calls are going to is not the same controller that has the view, it is a separate controller just for providing responses to pqgrid with no Index actionresult method. Also, did not use Nuget for packages. Under the Content folder there is a css folder (has pqgrid.min.css and images) and a js folder (has pqgrid.min.js and the localize folder). There is no scripts folder in the project.