Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

argumented Page Viewer Webparts

  Asked By: Evelyn    Date: Oct 23    Category: Sharepoint    Views: 1600

Does anyone have an example of one webpart taking input from the user
and then feeding it to the URL property of a page viewer webpart?

Can this be done?

So for example, one web part would have a text box where the user could
type in a value (Ex. 1234)

And this would connect to the page viewer web-part and load the page:


If the user typed in 5678 it would then instead load:


Any examples, code or any information pertaining on how to accomplish
this would be great.



2 Answers Found

Answer #1    Answered By: Tina Owens     Answered On: Oct 23

The page  viewer doesn't take web  part connections, but it would be
pretty simple to do what you ask with normal HTML. Instead of using a
page viewer, just edit in SharePoint Designer and add an iFrame with a
name property, then add a form with the target set to the iframe name,
the action to the base URL (everything before the ? in your example) and
a single text  form field named "section".

Answer #2    Answered By: Tiana Whitaker     Answered On: Oct 23

How abouttwo page  Viewer web  Parts/ One web part  displays a web page with a
form that submits to the page that is viewed in the other web part.

Web Part One: Please enter the Section that you want to view : And the
web page that gets posted to takes the value from the form and displays the

Didn't find what you were looking for? Find more on argumented Page Viewer Webparts Or get search suggestion and latest updates.