MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Connected Web Parts in 2007

  Asked By: Colin    Date: May 29    Category: MOSS    Views: 1063

Does anyone have sample code of how to connect web parts. I've read a
bunch of articles out there, but keep getting an error when I try to
make it work. i keep getting:

"The connection type "..." is not compatible with any web parts on the

I'm thinking my interefaces are not correct, but am not sure. If anyone
has any code that they code post, it would be helpful.



2 Answers Found

Answer #1    Answered By: Megan Martin     Answered On: May 29

First, don't follow what they say to do in the latest WSS v3 SDK... that's from
v2 and its rubbish. When you build using the documented method, you'll get
warnings for interfaces decorated with the Obsolete attribute (things like

You want to use the same technique we use in ASP.NET 2.0: Connection Points.
Sahil has a good write up here: http://blah.winsmarts.com//Post.aspx?postID=61

I've also got some sample code from a presentation I did that includes two WP's
participating in a connection:

If that doesn't do it for you, reply with your exact error and some code to this
DL and I'll see if I can help.

Answer #2    Answered By: Donta Kirkland     Answered On: May 29

I looked through some of your documentation and got
it working this morning!

Didn't find what you were looking for? Find more on Connected Web Parts in 2007 Or get search suggestion and latest updates.