Geeks With Blogs

Tangible Thoughts SharePoint, MOSS? and all the other questions

A little obscure fact about WebPart Connections.

If you are writing a WebPart that is a Provider as well as a Consumer it is better to give your ConnectionPoint's unique Ids.

Infact if you have multple Providers on the same WebPartPage the connections wont work unless each ConnectionPoint like so

[ConnectionProvider("DisplayName", "ConnectionPointId")]
public IWebPartField ConnectionInterface()
{
return this;
}

Cross-posted from tariqayad.com

Posted on Friday, July 20, 2007 4:47 AM SharePoint | Back to top


Comments on this post: ConnectionPoint Ids

# re: ConnectionPoint Ids
Requesting Gravatar...
Thanks for the giving information about ConnectionPoint Ids. If u want know more and more information about Share Point
than you can visit on the following link;

http://www.sharepoint2003.com
Left by Harsh kumar on Dec 20, 2009 7:27 PM

Your comment:
 (will show your gravatar)


Copyright © Tariq | Powered by: GeeksWithBlogs.net