I've got an application with a lot of callback functionality, that I'm hoping to upgrade to formal AJAX controls. in another question, I asked about using ScriptManager instead of my raw javascript callback code. Assuming I get that set up, here's the next question:
I think I understand the general idea of the Update Panel, however, before I go in that direction, I was hoping to get some input on this.
One of the panels on my main application page is a dynamic, drag-and-drop diagram that can contain scores of elements. There is a large body of code in the page codebehind and supporting code files that maintains and updates this diagram based on a variety of GUI actions.
All of this code ends up adding the many diagram element controls (image buttons, images, divs) into the primary diagram panel, during the main page PageLoad. So at each page refresh, the new diagram changes are registered in the database and rewritten to the screen. I want to have the diagram changes done and updated to the DB without the page load, i.e. through callback/AJAX.
If I were to take the parent panel for this diagram, and change it to an AJAX update panel (with the appropriate triggers and wiring), could I expect it to do an AJAX-type update, even though it has all this complex diagram-type content? In other words, does the update panel not care that controls have been dynamically added to it, it will just do the AJAX type update regardless? Or might there be any other issues with using an update panel in this situation?
Any guidance on this would be appreciated.
Thanks!