Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PageViewerWebPart Class

Displays content from a linked Web Page, folder, or file. This Web Part renders its content within an IFRAME element.

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        System.Web.UI.WebControls.WebParts.Part
          System.Web.UI.WebControls.WebParts.WebPart
            Microsoft.SharePoint.WebPartPages.WebPart
              Microsoft.SharePoint.WebPartPages.PageViewerWebPart

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[SupportsAttributeMarkupAttribute(true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class PageViewerWebPart : WebPart, 
	IDesignTimeHtmlProvider

Use this Web Part to incorporate existing content (such as Web sites or documents) into a Web Part. This Web Part allows you to isolate a Web Part from the rest of the Web Part Page. The IFRAME element prevents script running in the Web Part from interfering with other Web Parts on the same page. The Page Viewer IFRAME element also allows you to display pages that contain a <Form> tag. Finally, this Web Part allows you to retrieve data from a server that requires authentication. In this case, the Page Viewer Web Part forwards authentication credentials from the client.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.