Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How can I stop when I click a cross-domain document link in a dialog?

$
0
0

Hi,

I have two web applications. Lets say MAIN and MYSITES. MAIN contains a Web Part Page (.aspx) in a sub site collection which shows a document library (mp4 help videos) web part and a summary links web part. I have added a HELP link in the top band of the for both MAIN.master and MYSITES.master.

When this link is clicked it will display a pop-up dialog with the Web Part Page in question. When I do this within the MAIN domain I get no problems. Clicking on the MP4 links opens up the Media Player and I can see the help videos. However, when I click on the link in the MYSITES domain it opens the MAIN Web Part Page fine, but clicking on an MP4 document link causes the following error:

This content cannot be displayed in a frame

 I have tried adding the <WebPartPages:AllowFraming runat=”server” />to the Web Part Page, but it makes no difference.

Any help appreciated.

Thanks.

John.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>