Hi,
I built a ASP.NET 2.0 website with the TreeView Control on the masterpage and the contentarea given by the "Default.aspx". The nodes were filled dynamically from database. The Tree is filled with nodes, which I populated with a NavigateUrl like this "javascript:doSth(parameter);". In the "doSth"-javascript-Method I take the parameter and change the src-attribute of an existing IFrame on the "Default.aspx" to "ShowPdf.aspx?p=parameter".
Inside the ShowPdf.aspx i build on base of this parameter a filepath to an existing pdf-file in a folder "pdf" of my webapp and returned the pdf as Response with mimetype "application/pdf", so that the pdf is shown in the IFrame of the "Default.aspx" with the Adobe Acrobat Reader (in our case the 7.0.3-Version) Plugin. (btw. we use IE 6, SP 2)
Everything works fine....but:
Every time i click on the expand/collapse-icons (the + or -) the complete adobe reader inside the IFrame disappears and left a white site. You can see, that something happens when you click, that means it needs a short delay until the disappearance occurs. If I clicked a Node, adobe reader returns with the correct pdf. Next click on expand/collapse...bow...adobe reader is away.
When I clicked on different expand/collapse icons - whilst the adobe reader is disappeared - again, the nodes expands or collapses as they were expected to WITHOUT any delay.
I tested it with "normal" aspx-Files inside the IFrame, but theres no such behaviour: the content of the aspx doesn't change.
Any ideas ???
delph.ine