Sign in | Join
Last post 07-09-2009 6:27 AM by sinky. 3 replies.
Sort Posts: Oldest to newest Newest to oldest
Hello i want to create a file manager. i have one page for this action. Now i want to add this functionality to other pages as an ajax popup. My problem is that the control parameters needs a DIV to work but i want to avoid to have in all pages the same div. Is possible to load an ajax popup using a page with logic behind??
One way around this would be to put your file browser in a UserControl and then drop the usercontrol on to a modalpopup panel.
Another option would be to put an iframe tag inside the modalpopup.
This ModalPopup will be spawned programmatically. The ModalPopupExtender that this popup is attached to has a hidden TargetControl. The popup can be shown via server in code behind and on the client in script by calling the ModalPopupExtender methods to show and hide.
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ModalPopup/ModalPopup.aspx