I just copy infragistics required js and added scripts to my _Layout.cshtml <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/modernizr-2.5.3.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/infragistics.loader.js")" type="text/javascript" ></script> <script src="@Url.Content("~/Scripts/infragistics.js")" type="text/javascript"></script>And start a project and getting error in infragistics.loader.js. Any idea how to fix it?
Microsoft JScript runtime error: Unable to set value of the property 'isDocumentReady': object is null or undefined on $(function(){$.ig.isDocumentReady=true;
Hello Alex,
I've tried to reproduce your scenario but unsuccessfully. The only case when this error may happen is when $.ig is undefined (or destroyed between it's definition and jQuery ready function call). If possible can you set a breakpoint in the very beginning on the loader js file and see if $.ig is successfully defined? You could also send over your project we'll take a look over here.
I got the same error too. I'm using the trial version to see if we want to buy the jquery product.
When debugging, $.ig is undefined inside the function but defined outside of the function.
$.ig.isDocumentReady = false;
$(function () { $.ig.isDocumentReady = true; if ($.ig._loader) { $.ig.loader()._notifyLoaded() } })
If I take out the function part for a temporary fix, I get an error on $.ig.TrialWatermark, saying again that $.ig is undefined. Any help to fix it would be greatly appreciated, as we really want to try out the product! :)