Hello,
I am trying to open a popup window on a button click "Upload" thru ModalPopupExtender. Below "Upload" btn I have an Image control to display the selected image.
In the popup window I have FileUpload, Image to show the selected image, Set & Cance btns. On click of FileUpload button, in code behind I just want to show the image on control in popup. On click of "Set" btn I want to save image on server & set & show in the form in Image control. But once on Upload of FileUpload btns is clicked and control is gone to code behind, then the popup is Unloaded & not visible.
My Upload Btn & Image Control code :
I just want to simply have my FileUpload control in popup & show the selected file in popup & on confirmation of user save the image to server & show it on form Image Control.
Can you please help me out. Any help is highly appreciated.
Thanks