How can I setup the display for a content query web part when no results are returned?

1 Answer 1


You can alter the OuterTemplate.Empty XSLT template in the ContentQueryMain.xsl file. This template displays a message only when the web part is in edit mode but you can modify the XSL to display it even when it is in run-mode. Check this out:



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.