Solved

Connecting web parts on different pages?

Posted on 2008-10-23
1
427 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 43

Accepted Solution

by:
zephyr_hex (Megan) earned 200 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

630 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