Hi,
I am using an AJAX AsyncFileUpload control that works great. The control is located inside an <asp:panel> that is displayed using a ModalPopupExtender.
The trouble I am having is in trying to close the ModalPopupExtender at the AsyncFileUpload event, OnClientUploadComplete.
I have researched every possible way I know to get javascript to .Hide() the ModalPopupExtender at the OnClientUploadComplete event, but nothing works. In addition I have tried calling it from the code behind during the UploadedComplete event by using ModalPopupExtender.Hide(). However, this does not work either.
I would presume it is because the AsyncFileUpload control is inside a Panel which is called by a ModalPopupExtender?
Does anyone know how to do this? I just want to automatically hide the ModalPopupExtender after the AsyncFileUpload is UploadedComplete.
Thanks.