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

sharepoint 2013 Content By Search Webpart as Consumer webpart in webpart connections

$
0
0
I created a custom CSWP in sp2013, the first issue was that, dataproviderjson(query) object which actually sets the query can only be set in constructor. if i set it in createchildcontrols or after that, my custom cswp does not work. Now i wanted my CSWP to act as a consumer webpart for some other custom webaprt. As we know the issue with consumer webpart is that it recieves provider data in prerender method. even if i call createchildcontrol from this, my issue will not get solved, as i mentioned that we can set the query only in costructor. How shall i work out.

Viewing all articles
Browse latest Browse all 25064

Trending Articles



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