I have a WSS V3 site with the domain (for example) that uses a PageViewerWebPart to hold a page from a different domain
On the content page ( I have a link button in which I add .Attributes.Add("OnClick", "parent.location.reload();"); because on click I want to reload the parent page:
It seems fairly straight forward except I get
“A Runtime Error has occurred. Error: Permission denied”
I’m pretty sure this is because the reload is coming from a different domain and the browser is preventing Cross-site scripting. Is there a way around this?
I need to have the site refresh when the link on the content page is clicked.
Thank you for any help and or ideas.
On the content page ( I have a link button in which I add .Attributes.Add("OnClick", "parent.location.reload();"); because on click I want to reload the parent page:
It seems fairly straight forward except I get
“A Runtime Error has occurred. Error: Permission denied”
I’m pretty sure this is because the reload is coming from a different domain and the browser is preventing Cross-site scripting. Is there a way around this?
I need to have the site refresh when the link on the content page is clicked.
Thank you for any help and or ideas.