SPUserPoll – A new SharePoint poll Web Part in townDecember 28, 2008 17:07Today I released my first CodePlex project: the 0.1 version of my poll Web Part. I decided to develop this Web Part to improve my SharePoint skills and to learn more about SharePoint deployment.
The Web Part is called SPUserPoll and it allows site users to quickly create polls anywhere in the Site Collection. The poll Web Part is designed to provide a user friendly interface: Important settings and actions are available from within the Web Part. There is no direct need to work with the SharePoint Web Part setting menu and poll data is managed from normal SharePoint lists. Administrators can manage and keep track of all created polls from a centralized list. Connecting web parts: The easy wayOctober 9, 2008 17:38
Since Moss2007 you can implement your own connection interface which enables you to connect customized web parts. It looks like you can basically transfer any serializable information. The first thing you have to do is to define a very simple interface. The second step is to inherit the interface at the web part class that sends the information. In this class you’ll have to assign the interface as the connection interface. The last step in the provider web part is to include the “get function” described by the interface to pass the value. In our consumer web part we have to retrieve the connection interface. Once this connection has been setup we can read and use the given value. In the example code we will use the interface with the name “IMossStringConnection” to pass a string value. Tags: code example, connect, consumer, interface, provider, string value, web part. |
||