Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.