:: Forum >> Version 2 >>

Fix for IE freezing when the grid is used in a composite control

More information on this topic is available in the documentation section: /general.bugs/2-0-0.html.

In AW 2.0 if you use the grid class as a template in a composite control - IE may freeze with 100% CPU. The following patch fixes this problem -

AW.paint = function(element){

        var 
obj AW.object(element.id);

        while (
obj._parent){
            
obj obj._parent;
        }

        if (
obj && obj.raiseEvent && !obj.$paint) {
            
obj.lock();
            
obj.$paint true;
            
obj.raiseEvent("paint");
        }

        
window.setTimeout(function(){
            
element.style.removeExpression("visibility");
            
element.style.display "none";
            if (
obj && obj.$paint) {
                
obj.$paint false;
            }
        }, 
0);
        return 
"hidden";
    };
 
Add this code at the end of aw.js or replace similar fragment in /source/lib/browsers/common.js
Alex (ActiveWidgets)
Friday, March 31, 2006
When will patch for combo in grid for FF be available, or I guess I should say will that patch be available to those of us who are evaluating?
HoseHead
Friday, March 31, 2006
Yes, I will publish the patch here, please give me couple of more days.
Alex (ActiveWidgets)
Friday, March 31, 2006
Alex

Have you published the fix for combo in grid not closing in FF? I haven't seen it, but maybe I've missed it.

If not yet, then when it is available, how will we know? e.g. will you put it at the top of your home page or somewhere else on the site?

Thanks!
Will
Will
Monday, April 10, 2006
You say "use the grid class as a template in a composite control" but i can't find any example.... where can i look for?
Amigoni
Friday, May 12, 2006



This topic is archived.

Back to /general.bugs/2-0-0.html

Documentation:

Forum search