Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
MVC4 and Infragistics 2012.1
posted

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;

  • 14049
    Offline posted

    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.

  • 898
    Offline posted

    Got the same error, can't find any solution.