Sunday, March 11, 2012

Is the Update Panel capable of replacing the iframe for dynamic content?

Yes, I think you're expecting to much. AJAX and the much overused UpdatePanel (in my opinion) are definitely good for breaking out of the postback cycle, but they are not always replacements for iframes. More specifically, you should really design with the UpdatePanel in mind when you use it. Just throwing stuff at it will eventually lead to a lot of issues. The isolation level that an iframe gives can not be replicated by an UpdatePanel and the integration level that an UpdatePanel gives can not be replicated by an iframe.


Thank you for helping verify my sanity. I thought I might be asking too much from the Update Panel. What you say is spot on.

No comments:

Post a Comment