To connect web pats in SharePoint 2010 it requires creating interface, for example
public interfaceITextCommunication
{
string Text { get; }
}
then provider
[ConnectionProvider("Text Communication")]
publicITextCommunication GetProvider()
{
returnthis;
}
and consumer
ITextCommunication provider;
[ConnectionConsumer("Text Communication")]
publicvoid ReceiveProvider(ITextCommunication p)
{
provider = p;
}
This does not work in SharePoint 2013.
I would be very grateful for the help how to create connected web parts in SharePoint 2013.
Thanks in advance
bnossov