Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Connect SharePoint Visual Web Parts

$
0
0

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


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>