OnTheAnvil Posted December 18, 2003 Posted December 18, 2003 I'm currently using some Infragistics web datagrids. If I populate them with data a few times on a page I get this error from Internet Explorer NOT from the .NET framework... Stack Overflow at line: 2790 I can't find any help with this error from Infragistics or from Microsoft and I was wondering if anyone else had any idea what this was. Or if anyone has any suggestons for how to debug this error message. By the way, none of my forms have over a few hundred lines of code so the reference to line 2790 isn't in any of the code I've written which is why its so hard to debug for me. Also this isn't a fatal error. If you ignore it(as opposed to clicking "OK") you can keep browsing through the web site. Any ideas would be greatly appreciated. Quote
*Experts* Nerseus Posted December 21, 2003 *Experts* Posted December 21, 2003 Sounds like Javascript or whatever code (?) is running clientside. Does this grid use any kind of control (ActiveX, hosted in IE for example) or purely an HTML solution? I would guess that the grid has some kind of Javascript running that's causing the error. You could try putting a button in your form and having it print the code. You can't use View Source as it only shows what was downloaded, not stuff that's currently known to the in-memory version of the page. I haven't done web stuff in awhile, but try looking at properties/methods of the document object (a built-in java/javascript/webbrowser object). Maybe something like document.innerHTML or document.scripts.innerText or something like that. Basically, get a look at the javascript source code and see if there's any recursion in there that might be the problem. Or, simply submit a bug report to Infragistics and see if they can debug it from their end. -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
xhead Posted February 3, 2004 Posted February 3, 2004 This is a problem in the ig_WebGrid.js javascript file that runs in the client browser. Lines 2786 to 2792 are as follows: function igtbl_unload() { if(igtbl_oldOnUnload) igtbl_oldOnUnload(); // 2789 for(var gridId in igtbl_gridState) // 2790 igtbl_gridState[gridId].unloadGrid(); } We're getting it sometimes on 2789 and sometimes on 2790. I have opened a ticket with Infragistics to see if they can resolve it. In the meantime, I may just wrap some error handling in this file, something like this: // MD 20040203 Added try/catch blocks to prevent // stack overflow errors from being reported function igtbl_unload() { try { if(igtbl_oldOnUnload) igtbl_oldOnUnload(); } catch(var e) {} try { for(var gridId in igtbl_gridState) igtbl_gridState[gridId].unloadGrid(); } catch (var e2) {} } // end MD 20040203 Mike Quote
OnTheAnvil Posted February 3, 2004 Author Posted February 3, 2004 Sort of fix Thanks for responding first of all. One quick question, is that error handling inside the ig_WebGrid.js file or the html of the page you are editing in .NET? And I also recieved this reply from Infragistics after a few days when I asked about the problem and it works so long as you don't need SmartNavigation turned on. ---------------------------------- ---------------------------------- Also, are you using Smart Navigation at all in you actual project? If you are you could try turning it off and see if it solves the problem. This sounds like it could be related to Smart Navigation. Knowledge Base Article: KB04139 PRB:Infragistics ASP.NET controls and Microsoft Smart Navigation usage http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=4139 Best Regards, Jordan Technical Support Infragistics, Inc. ----------------------------------- ----------------------------------- Hope this helps.:) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.