MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Passing WP Parameter Cross Page

  Asked By: Mackenzie    Date: Apr 26    Category: MOSS    Views: 1605

Looking for tips on how to pass information about a chosen grid row
(project id) from one web part to a web part on another web page.

I'm using MOSS (WSS v3) and web parts that happen to be based on web
user controls (displayed with a custom user control container web

Additionally, passing the project id (the parameter) needs to occur on
the backend, or with an opaque method so that the user cannot
intercept and change the parameter. I anticipate the web part on the
first page doing a post back, which will then redirect to the second
page (but not with "?projectId=12345" :-)

Is there a way to do this through Web Part communication across pages
in MOSS? Configured through UI or programatically?
I don't think we have sessions enabled.
Any tricks related to .NET 2.0 web controls?



1 Answer Found

Answer #1    Answered By: Nathanial Mcclure     Answered On: Apr 26

A couple of points. You can use regular web  part connections to do this
but there are two specific requirements:

1) Both Webparts must inherit from the SharePoint Webpart object
model and not the ASP.NET 2.0 object model (ASP.Net doesn't support
cross page  connections)

2) You have to use SharePoint Designer to setup the connection.
You can't use the UI to do a cross  page connection.

Didn't find what you were looking for? Find more on Passing WP Parameter Cross Page Or get search suggestion and latest updates.