MVC Tools

Error in http://cdn.wijmo.com/jquery.wijmo-complete.all.2.1.0.min.js

Tagged: 

  •  37Stars said 11 months, 1 week ago:

    I am getting the error "b.toLowerCase is not a function" on line 126 of http://cdn.wijmo.com/jquery.wijmo-complete.all.2.1.0.min.js.

    The project is a simple ASP.NET MVC page that dynamically loads data into a grid. I started with Wijmo 1.2, but the grid would not display. Using firebug I determined the data was being returned correctly.

    So I updated the project to pull all the files from the CDN as show below. I get the error mentioned above and my grid does not show.

        <!--jQuery References-->
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js&quot; type="text/javascript"></script>
        <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js&quot; type="text/javascript"></script>
    
        <!--Theme-->
        <link href="http://cdn.wijmo.com/themes/aristo/jquery-wijmo.css&quot; rel="stylesheet" type="text/css" title="rocket-jqueryui" />
    
        <!--Wijmo Widgets CSS-->
        <link href="http://cdn.wijmo.com/jquery.wijmo-complete.all.2.1.0.min.css&quot; rel="stylesheet" type="text/css" />
    
        <!--Wijmo Widgets JavaScript-->
        <script src="http://cdn.wijmo.com/jquery.wijmo-open.all.2.1.0.min.js&quot; type="text/javascript"></script>
        <script src="http://cdn.wijmo.com/jquery.wijmo-complete.all.2.1.0.min.js&quot; type="text/javascript"></script>
  •  37Stars said 11 months, 1 week ago:

    Updated information.

    jquery.wijmo.wijgrid.js is reporting "toLowerCase is not a function" on line 8042. If the line is changed to

    switch(value.toString().toLowerCase()) {

    there is a new error, "uncaught exception: invalid value" on line 4 of jquery-1.7.2.min.js.

    If I remove the boolean value from the table the error goes away.

    However, now there is a new error, "this.$bottomPagerDiv.wijpager is not a function" on line 2427 of jquery.wijmo.wijgrid.js. This results in no pager at the bottom of the grid.

    I have attached a zip file with my _Layout.cshtml and Index.cshtml files.

    Attachments:
    You must be logged in to view attched files.
  •  Ashish Jindal16p said 11 months ago:

    Hello,

    I checked your code and it looks fine to me, however, I was unable to replicate the mentioned issue at my end. Could you kindly post a small sample replicating the issue so that I can reproduce it and if required, can get it fixed at the earliest.

    Regards
    Ashish

  •  37Stars said 11 months ago:

    Here’s the entire project.

    Attachments:
    You must be logged in to view attched files.
  •  Ashish Jindal16p said 11 months ago:

    Hello,

    Thanks for the sample. It seems problem to me as well and have escalated it to the concerned team for review. I would update you as soon as I get anything from them.

    Regards
    Ashish

  •  37Stars said 11 months ago:

    Thank you Ashish

  •  Ashish Jindal16p said 10 months, 4 weeks ago:

    Hello,

    Kindly check the modified sample and let me know whether it works properly at your end or not.

    Regards
    Ashish

    Attachments:
    You must be logged in to view attched files.
  •  37Stars said 10 months, 4 weeks ago:

    Yes, this works. Now I am off to compare the two for differences.

  •  37Stars said 10 months, 4 weeks ago:

    So it was all because I had a data element named Selected?

    Thanks for looking into this.

  •  Ashish Jindal16p said 10 months, 3 weeks ago:

    Hello,

    Yes, one error was incorrect mapping and also, there were some issues which got fixed in the latest build.

    Regards
    Ashish

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.