Hi - This realy is my last resort.
This is only a problem in after upgrading to IE8. We developed a
webapplication for intranet use and there is a problem when ever we
refer to the top.whatever.property..... methods and properties just
after the showmodaldialog was executed.
After a returnValue is set & you try to access any to the parent/top
methods or properties, this will result in "Permission denied" error.
I've been reading online and cannot find anything useful and tried all
recommendations given. I've made sure domain names are the same, tried
sending window.top as an argument and return it via returnValue
I've added my testing hostname("localhost") as a "trusted site" and
"intranet site". This said, I've also changed all related security
settings from under the mentioned security tabs.
As this showmodaldialog is created by a parent(not even a seperate
html page),I'm sure this should be possible but I just seem to miss
the security/enabled tag.
As suggested on msdn I thought it would be something related to
"Object Caching Protection" - If this would be the case - What would
be the best approach to bypass and still have access to the parent
Example where we use it is to show an About dialog. After the dialog
was closed, we do some top.someframe.somemethod - This is then when
error is experienced without any access to the function.