Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Connecting web parts on different pages?

Posted on 2008-10-23
1
Medium Priority
?
432 Views
Last Modified: 2013-11-05
hi  i have been asked to do the following, but am confused:

1. Have webpart1 on page1.aspx    
2. webpart1 has a textbox which you enter a id number into.
3. When you press the submit button the contents of the textbox are sent to Webpart2 on Page2.aspx
4. WebPart2 then goes off and gets some data using the id.  

I know i could use session - but is it possible formally connect the two webparts - across different pages?  In a similar way to how they are linked when on the same page? i.e
<StaticConnections> <asp:WebPartConnection or is it possible programatically?


thanks

sean



0
Comment
Question by:MrKevorkian
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
zephyr_hex (Megan) earned 800 total points
ID: 22788683
yes.  this is possible... i'm assuming this is either wss 3.0 or moss 2007 (if it's an earlier version, the process is a bit more complicated and different)
http://msdn.microsoft.com/en-us/library/ms415560.aspx

what you are looking for is Cross Page Connections.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.webpart.connections.aspx


(note:  because you require Cross Page Connections, you should use Sharepoint WebPart and not ASP .NET 2.0 Web Parts)
http://tahoesolutions.blogspot.com/2007/11/aspnet-20-or-microsoft-sharepoint.html
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question