Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Use ModalPopupExtender in Page loaded in iframe

$
0
0

I have a Page that is contained in an iframe. This Page contains a FileUpload control as well as some Text and Button controls (Choose File and Upload File). What I'm trying to do is have a popup display when the user clicks the Upload File Button and hide the popup when the file upload completes. Then, I want to display another popup on the Page that is the parent of the iframe to inform the user that the data from the uploaded file is being loaded (into a Grid on the Page).  I have a hidden Button on the parent Page whose Click event I raise through javascript when the file upload completes. The Click event handler then calls the code to reload the Grid.

First of all, no matter what I've tried, the Text in the Panel hooked to the ModalPopupExternder in the Page loaded into the iframe is always displayed in the iframe, even before the user clicks on the Upload File Button.

Second, how would I trigger the second Popup?

If a ModalPopupExtender is not the best way to do this, what would be?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>