I found out that CQWP has a property called "UseCache". By default, this property is set to True, this conflicts with the rendering of the web part.
To solve this problem, I exported my web part to my local computer and updated the "UseCache" property to "False"
<property name="UseCache" type="bool">False</property>
It worked like a charm. My sincere who wants Michael Nemtsev
Regards, Sudhir Kesharvani
source share