Thanks in advance for any attention my issue gets. I hope this is the right area to post it.
I’ve been using the Infragistics UltraWebGrid Version 2.0.5000.17 for some years. My company have unfortunately not got round to upgrading the asp.net 1.1 project over the years for various reasons. We are now in a position where we are upgrading from asp.net 1.1 to hopefully asp.net 4.0.
I have addressed many issues but have 1 remaining.
The Ultrawebgrid puts code to call igtbl_submit into the aspx page in a webform_onsubmit method that is created. The problem is that my running aspx page cannot find the igtbl_submit method and errors with
“Microsoft JScript runtime error: The value of the property 'igtbl_submit' is null or undefined, not a Function object”
Does anyone know what this method does, where it should be located etc? My final goal is to upgrade the infragistics controls we use to the latest offerings, but I need to get the existing solution upgraded and working (as a kind of Stage 1 phase) to enable me to proceed further.
Hi turnerl,
Thank you for posting in the community.
Can you try clearing your temporary internet files as after upgrading your product version some old script files may still be in the browser's cache.
Please let me know if this helps.
Hi Peter, thanks for the reply. I've tried that but the same issue remains.
Hi Lee,
Thank you for your reply. Please do not hesitate to contact me if you need assistance.
Thanks for your help again Peter. The strange thing is that igtbl_submit does not seem to be contained within any of the infragistics *.js files that I have. The file webGrid.js was the first one I checked.
For now I've put an empty method into the .aspx page called igtbl_submit and it is running ok. I'm a little concerned what the real method should actually do, but it does help me progress with the upgrade and eventually we do wish to replace the grids with the latest offerings.
Thanks again for your time
Lee
Thank you for your reply.
The igtbl_submit() function is defined in the javascript resources which should be loaded when UltraWebGrid is used. You can try adding a script reference to the WebGrid.js file which by default would be located in:
Program Files\Infragistics\NetAdvantage 2011.1\ASP.NET\CLR2.0\Scripts
For the sake of testing it may be worth trying to create a new sample page with an UltraWebGrid in order to test if the behavior is isolated to a single project.
Thanks for your help Peter. The problem is that the loaded scripts do NOT contain a method igtbl_submit. This is definitely an infragistics created amendment to the code. I cannot find this method in any of the infragistics .js files.
I was hoping someone at infragistics may know what it is, where it originates etc?
As mentioned previously we do want to upgrade to newer controls. However, for stage 1 I need to port the solution as is.
I have investigated the scenario further but am so far unable to replicate the behavior. If you can provide me with a sample illustrating the issue I would be glad to continue my research. I can also suggest that you try,if at all possible debugging your code and inspecting whether the loaded scripts contain a definition for igtbl_submit().
Please note that the UltraWebGrid control is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would suggest that you consider switching to the WebDataGrid/WebHieararchicalDataGrid. More information regarding these controls is available at:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html
Additional samples demonstrating the features of these grids can be found at:http://samples.infragistics.com/aspnet/
Feel free to contact me if you have any additional questions.