Creating Connectable Web Part with the SmartPart
Lately I got quite some questions about how you can create connectable web parts with the SmartPart for SharePoint. Because I’m a little bit lazy I’ve recorded a screencast that’s going to show you the basics for creating connectable web user controls that can by hosted in the SmartPart for SharePoint. I’m using SmartPart version 1.1 and ASP.NET 1.1/Visual Studio.NET 2003/SharePoint 2003. If there are some people who want to do the same using the Son of SmartPart and ASP.NET 2.0/Visual Studio 2005/SharePoint 2003, it’s almost exactly the same (same interfaces etc.). In the screencast I’m showing two web parts that retrieve data from the Northwind database: a list of employees and a list of orders. When an employee is selected, the corresponding orders are displayed in the order list. After that I’m showing a test provider and consumer, built from scratch.