SP 2013 Page Viewer Webpart问题显示在框架中 [英] SP 2013 Page Viewer Webpart Issue to display in frame

查看:69
本文介绍了SP 2013 Page Viewer Webpart问题显示在框架中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

网页查看器" Webpart是在SharePoint 2013中工作,但是当我尝试从同一SharePoint服务器场添加另一个sp Web应用程序时不会显示,而是抛出错误,如下所示:

The Page viewer webpart is  working in SharePoint 2013 but when I try to add the another sp web application from same sharepoint farm doesn't display and instead it throws error as shown below:

如果我从ASP.net Web应用程序网页添加链接,则该链接在框架内的显示效果很好.

Whereas If I add the link from my ASP.net web application webpage, it just works fine display inside the frame.

是否有任何解决方法可将其显示在框架中?

Any workaround fix to display this inside the frame?

非常感谢

Shri

推荐答案

Shri,

要解决此问题,您可以使用SharePoint Designer 2013编辑添加到Page Viewer Web部件中的页面,然后在"PlaceHolderMain"下添加以下行:部分:

To solve this issue, you can edit the page which is added into the Page Viewer web part using SharePoint Designer 2013, then add the following line under "PlaceHolderMain" section:

<WebPartPages:AllowFraming runat="server"  />

示例如下:

<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
<WebPartPages:AllowFraming runat="server"  />

然后将页面和浏览器保存到Page Viewer Web部件页面.

Then save the page and browser to the Page Viewer Web Part page.

谢谢

温迪


这篇关于SP 2013 Page Viewer Webpart问题显示在框架中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆