Connected Page Viewer Web Part

Scenario:-

There is a Link web part and a Page viewer web part on the web part page. The requirement is that, whenever a user clicks on a particular link inside Link Web Part it should automatically render the corresponding page inside the page viewer web part.

Challenges:-

By default the page viewer web part does not support connections.

Solution:-

The solution is to create a page viewer web part that accepts the url as the connectable parameter. There is an interesting post by Todd Baginski about creating a connectable Page Viewer Web Part

http://www.sharepointblogs.com/tbaginski/archive/2007/08/16/connected-page-viewer-web-part.aspx

Even though the code-sample mentioned in the above link is for SPS 2003, we need to do code changes if we are developing it for WSS 3.0 / MOSS 2007. Probably if we are developing the web part as “SharePoint web part” the code changes we’d be making is less, compared to developing it as “ASP.NET” web parts.

I’d try this developing it for WSS 3.0/ MOSS 2007 and share my experiences

 Subscribe to my post

One thought on “Connected Page Viewer Web Part

  1. Pingback: Connected Page Viewer Web Part - My experiments with SharePoint, Azure and .NET using Visual Studio

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.