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
40
Javascript errors when binding/initializing iggrid
posted

Hi Infragistics,

I am getting some weird javascript errors. The first one does not break the code but I am interested in why it is thrown and the second breaks the code hard. The problems started occuring when I was trying to upgrade to jquery 1.9.1 or higher.

First some system information:
Infragistics.Web.ClientUI 14.1.20141.1020
jquery 1.9.1

First Error:
On every page that loads infragistics.core.js I get the following error message.
Error: "unsupported pseudo: jqmData"
This comes from: infragistics.core.js anonymous function $(":jqmData(role='page')").live("pageshow",_find) line 274
Call stack:
>    Sizzle.error [jquery-1.9.1.js] Line 4421    Script
     Sizzle.selectors.filter.PSEUDO [jquery-1.9.1.js] Line 4775    Script
     matcherFromTokens [jquery-1.9.1.js] Line 5294    Script
     Sizzle.compile [jquery-1.9.1.js] Line 5435    Script
     select [jquery-1.9.1.js] Line 5513    Script
     Sizzle [jquery-1.9.1.js] Line 3998    Script
     find [jquery-1.9.1.js] Line 5576    Script
     jQuery.prototype.init [jquery-1.9.1.js] Line 196    Script
     jQuery [jquery-1.9.1.js] Line 62    Script
     Anonymous function [infragistics.core.js] Line 274    Script
     Global code [infragistics.core.js] Line 274    Script

Second Error:
Then when initializing and binding data to the grid with data from a date intervall I get the folloing error.
"Syntax error, unrecognized expression: '#DataViewer.aspx/GetViewData?viewid=28&from=2010-07-25&to=2014-07-25&selection=%7B%7D'
Call stack:
>    Sizzle.error [jquery-1.9.1.js] Line 4421    Script
     tokenize [jquery-1.9.1.js] Line 5073    Script
     select [jquery-1.9.1.js] Line 5460    Script
     Sizzle [jquery-1.9.1.js] Line 3998    Script
     find [jquery-1.9.1.js] Line 5576    Script
     jQuery.prototype.init [jquery-1.9.1.js] Line 196    Script
     jQuery [jquery-1.9.1.js] Line 62    Script
     analyzeDataSource [infragistics.core.js] Line 234    Script
     init [infragistics.core.js] Line 234    Script
     Class [infragistics.core.js] Line 207    Script
     _setupDataSource [infragistics.lob.js] Line 106    Script
     Anonymous function [jquery-ui-1.10.1.js] Line 406    Script
     dataBind [infragistics.lob.js] Line 105    Script
     Anonymous function [jquery-ui-1.10.1.js] Line 406    Script
     _create [infragistics.lob.js] Line 105    Script
     Anonymous function [jquery-ui-1.10.1.js] Line 406    Script
     $.Widget.prototype._createWidget [jquery-ui-1.10.1.js] Line 565    Script
     $.Widget.prototype._createWidget [infragistics.core.js] Line 208    Script
     _createWidget [infragistics.lob.js] Line 105    Script
     Anonymous function [jquery-ui-1.10.1.js] Line 406    Script
     $[namespace][name] [jquery-ui-1.10.1.js] Line 367    Script
     Anonymous function [jquery-ui-1.10.1.js] Line 512    Script
     each [jquery-1.9.1.js] Line 648    Script
     jQuery.prototype.each [jquery-1.9.1.js] Line 270    Script
     $.fn[name] [jquery-ui-1.10.1.js] Line 507    Script
     dataBind [AnalyticsViewer.js] Line 252    Script
     success [AnalyticsViewer.js] Line 180    Script
     fire [jquery-1.9.1.js] Line 1037    Script
     self.fireWith [jquery-1.9.1.js] Line 1148    Script
     done [jquery-1.9.1.js] Line 8074    Script
     callback [jquery-1.9.1.js] Line 8598    Script

     Any ideas on why this breaks with jquery 1.9.1 but not with 1.7.2?

     Thanks!

Parents
  • 1905
    posted

    Hello Fred,

    Thank you for contacting Infragistics!

    We received your support request concerning javascript errors when binding to the igGrid, and I have been assigned to help you with this issue. Infragistics is dedicated to helping you solve this issue. Our team and I have done an initial review of your post and I will be doing further research on these errors.  I will get back to you by the end of the day Monday with more information or questions for you.

Reply Children