Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

argumented Page Viewer Webparts

  Asked By: Evelyn Little         Date: Oct 23, 2007      Category: Sharepoint      Views: 405
 

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:

www.companyxyz.com/.../ibeCCtpSctDspRte.jsp

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

www.companyxyz.com/.../ibeCCtpSctDspRte.jsp

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

Tagged:        

 

2 Answers Found

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

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, 2007       

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
section.

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


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].