I have a modal popup extender and associated panel on a page. The modal popup is displayed when a user clicks on a button. The content of the popup might consist of a series of hi-res images which might take a significant time to download. The problem is that although the modal popup is not shown its content is downloaded regardless. I think that popup is initially assigned "display:none" and it's code and content are downloaded by the browser - which is an expected behavior.
Does anyone have a suggestion how to delay download of the content until the popup is shown?
I think that one way of doing it would be to set the popup extender's and the associated panel's Visible to False and set it to true only when the button is clicked. This would require 'launching' the popup on the server side. Is this going to work?
Any other suggestions?
View Complete Post