Take the 2-minute tour ×  I am using ASP.NET MVC3 with Visual
Studio 2010 Crystal Reports, and Jquery. I am having the
strangest behavior that I have ever experienced when trying to
load the .pdf file in a pop up window.  Here is the requirements
of my project: The user will click a button. This will generate
a crystal report and the report needs to open in a new window in
.pdf format. After the user is finished viewing the report (when
the pop up window is closed), there is some clean up that needs
to be done so the unload event of the child window needs to be
triggered. Since the popup is really a .pdf file, it didn't have
the ability to have events such as unload. So, I set up my
controller to throw back a partial view for the pop up window
and this partial view has an iframe which displays the report.
**Now here is the strange behavior that I am having: When the
partial view is rendered the report is not showing up. I just
see a square box where the iframe is with nothing in it. Here is
where it gets str