Hello there,
I am working on this project where I have Modal Popup windows whose content is from iFrame and they get data from code behind. The challenge I have is that I want to clear the iframe content onClose of the modal window.
See my code below. It has the HOME.aspx page which acts as a landing page and 3 Pages which are used a iFrame pages.
WebForm1.aspx
WebForm2.aspx
WebForm3.aspx
I tried some code that I was given on this forum but it never worked (I have used that code in WebForm1.aspx, but the behavior is not what I expected).
What I want to achieve is, when I close a window, the contents of the iFrame should be reset to the original state. i.e. if you select option 'LoadGrid' in one of the Modal Windows, it generates data for the dataGrid, but when I close and reopen the Window, the datagrid still shows the values from the OnChange event.
How can I achieve the behavior that I want....?
Thanks
Attachment:
ModalProj_41465242.zip