ASP.NET Connected Web Part Under SharePoint

After having spent a lot of time building a two webparts under ASP.NET (one provider, one consumer), and getting them to work flawlessly under the ASP.NET webpart framework, it now comes time to deploy to SharePoint. I have followed the tutorials... strong name the assembly, drop the assembly in the _app_bin, upload the web parts to the WebPart Gallery, create a WebPart Page, add webparts to the page, connect the webparts...

But here is where the problem is. There is no option on the edit menu to add connections What do I have to do to enable connections for my custom webpart Is there a definition file that I need to define this in Is it a matter of not having the permission to connect webparts The provider web part seems to work well, but there is no connection so I cannot even test the consumer :(.

Jim



Answer this question

ASP.NET Connected Web Part Under SharePoint

  • A..K

    I came to that site from http://msdn2.microsoft.com/en-us/sharepoint/default.aspx and had been looking at it quickly just prior to seeing your posting. Only since going back to it did I see the points of some of the content relating to some of the content being out of date; sorry it didn't help more.
  • AndyL

    Could you please share what the setting was so that others might benefit from your finding this out.

    Thanks

  • calmal20

    Hi There...

    I have Searched For Connectable Webparts for so many days .but dint come up with a solution.

    I have Created ASP.NET 2.0 Connectable Webparts but dont know how to deploy them in sharepoint portal.

    Please tell me the Procedure of creating Connectable Webparts and successfully deploying them into sharepoint portal(server).

    thanks in advance.

    Aravind.k



  • Bertrand Caillet

    Problem solved. Turns out there was a config setting that disabled the ability to connect webparts.

    Sorry to take your time,

    Jim


  • Cobolman

    While there is no clear reference to which version of SharePoint the article that you pointed me to is targeting, the article points to "Build a Connectable WebPart" article which points to documentation for interfaces that are all marked as Obsolete. This leads me to believe that your article is for building WebParts under SharePoint 2003, which uses a different WebPart infrastructure than is being used in SharePoint 2007.

    Thanks, though for your help,

    jkita


  • Alex-MyRpg

  • ASP.NET Connected Web Part Under SharePoint