Using jQuery instead of AJAX to simulate UpdatePanel functionality
I am developing an asp.net web application and stand on jQuery plug-ins for any aspects of my Inter开发者_如何学Pythonface. But unfortunately I have to use AJAX only for its UpdatePanel to enable partial rendering. Is there any way to use jQuery for partial rendering and act such an UpdatePanel?
No, there isn't.
UpdatePanel is intimately tied with ASP.Net's rendering engine and ViewState; it cannot be replicated with jQuery.
However, you could replace your UpdatePanel with simple AJAX and ASHX handlers. (Unless you use ASP.Net web controls)
You might want to check out UFRAME.
If you're using jQuery 1.3.2 upwards you'll need to tweak the library by removing the @ from the initContainers
function.
精彩评论