javascript - IE slowing down after updatepanel partial update -
I am trying to keep a user control inside an UpdatePanel when the control is displayed, then text box Typing inside is a bit late in IE (6 and 8). Firefox's excellent performance is not only typing but also the scrolling experience for a few seconds.
User control (s) has a lot of JavaScript functions, which is ScriptManager.RegisterScriptBlock
or register startupscript function
.
Is there any idea why typing becomes so slow? I believe this is something to do with memory leaks due to the re-registration of jQuery functions. But I am unable to locate its source.
Javascript Whether you wrote by yourself or others or a trusted framework Is part of? Generic Tips: - Reduce processes and function calls - Representative events - Reuse cache and jQuery results (especially for IE) and when you know that the dom has changed. - Avoid recurrence until you know how to avoid all memory leak prone practices. - About form input, use 'focus' and 'blur' events, instead you can 'keypress' wherever you can. - When using 'keypress' events, Debian, Debans, Debans! (Google this)
Use: - To see the firebug profiler, which function is called and how often, it shows you why you need to reduce.
Comments
Post a Comment