jQuery Memory Leak in UpdatePanel
Introduction
This article discusses how to integrate jQuery
library with Microsoft AJAX.NET, in particular with <asp:UpdatePanel/>
and to avoid Internet Explorer memory leak while doing so.
jQuery
becomes more and more popular. However Microsoft ASP.NET and AJAX.NET provide their own framework of communicating with the server. jQuery
AJAX mechanism seems clumsy and un-natural in ASP.NET environment. It's much easier to use ASP.NET UpdatePanels
for AJAX functionality and use jQuery
for their selectors
functionality - pretty much what I understood Microsoft is planning to do. However doing so is tricky and this article explains at least some of the shortfalls of doing so.
Iteration 1 - Sample Page
Let's imagine a sample calc - page that adds 2 numbers:
See full detail: http://www.codeproject.com/KB/ajax/jqmemleak.aspx
Comments