Open barrymichaeldoyle opened 7 years ago
I was having a similar issue when running this through IE. I normally use Edge and switched to test things in a different browser. I am using ASP.NET MVC, and in my BundleConfig.cs, I had the following:
bundles.Add(new ScriptBundle("~/bundles/bootgrid").Include(
"~/Scripts/jquery.bootgrid.fa.min.js",
"~/Scripts/jquery.bootgrid.min.js"));
In the jquery.bootgrid.fa.min.js, there's not a lot of code, but looking at it made me think switch the order of include would work. So I changed the BundleConfig.cs to look like:
bundles.Add(new ScriptBundle("~/bundles/bootgrid").Include(
"~/Scripts/jquery.bootgrid.min.js",
"~/Scripts/jquery.bootgrid.fa.min.js"));
That worked for me here. No change in functionality with regard to Edge and no more exception in IE.
If you aren't using the bundle config method, check the order of the script links wherever you are doing them.
Hope this works and helps you out.
I get the following error in the console every time I run my app:
Uncaught TypeError: Cannot read property 'Constructor' of undefined
What is causing that and how do I resolve it?