I'm trying to develop a system where users can drag icons (which represent user controls) onto a web page.
However, the user controls need to be housed in an updatepanel
(or similarly AJAX enabled frame) so that they can be updated without having to refresh the whole page, etc. The usual AJAX drill.
Currently the users drag the icons onto a central area and I'm using the JQuery UI draggable library to detect when an item is dropped. It's at this point I need to insert an updatepanel
on to the page so that I can fill it with content.
Being a server side control it's unfortunately not as simple as
Document.createElement('UpdatePanel');
Which would be awesome but silly.
So is there a way in which I can create an ajax enabled control via javascript which can be appended to my page and referenced server side?