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
95
Infragistics UltraWebGrid Error.While Unloading Control.
posted

Hello,

I am using Infragistics UltraWebGrid Version 4.3.20043.27 .

I have put Ultra web grid on a page RecordSelection.aspx.

The same Page has OK and Cancel Button.

This page is opened in a Modal Dialog.

I open the Modal Dialog.

I need to fill 3000 records in the UltrawebGrid.

i fetch data to grid.Grid fills up data of 3000 records and show it.

i have written 2 event handlers 1 for  ok and  1 for cancel click

On Ok click i do some small processing on selected records.

On Cancel click i just close the Modal Window.

Now,I click on "OK" or "Cancel" button.

On click of either "OK" or  "Cancel" button my event handlers are executed properly.

Now On click event handler gets executed,and then control moves to "  ig_WebGrid.js "

Here it unloads the grid in both cases (ok or cancel click).

while unloading

control moves to

function igtbl_unload()  then 

function igtbl_unloadGrid(gn)

{

igtbl_gridState[gn].disposing=true;

igtbl_dispose(igtbl_gridState[gn]); --problem is here 

delete igtbl_gridState[gn]; 

}

function igtbl_dispose(obj)

{     

if(ig_csom.IsNetscape || ig_csom.IsNetscape6)

return;

for(var item in obj)

{

if(typeof(obj[item])!="undefined" && obj[item]!=null && !obj[item].tagName && !obj[item].disposing && typeof(obj[item])!="string")

{

try {

  

obj[item].disposing=true;

igtbl_dispose(obj[item]);

} catch(exc1) {;}

}

try {

delete obj[item];

} catch(exc2){

return;

}

}

}

here it keeps on executing function igtbl_dispose (check there is recursive call) 

So eventually i get alert from IE In both Cases Ok or Cancel  :( 

Image is attached with the post.

Please help. How to remove such Error? what is the reason?

 

 

 

Parents
No Data
Reply Children
No Data