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.
↧