I have a custom webpart which inherits from the CQWP and I want to insert and configure it in one of my pagelayouts.
I do this using SharePoint Designer and it's no issue inserting it. It's the configuration of it that courses a bit of trouble.
When I insert it I get this error:
Error Rendering Control
Request is not available in this context.
And when I right-click on it and choose Web Part Properties... I get the following error:
The file you imported is not valid. Verify that the file is a Web Part description file (*.webpart or *.dwp) and that it contains well-formed XML
It seems to do this with all custom webparts I insert, but the other webparts gets showed correctly on the website when displayed in a browser. But my custom CQWP throws an Unable to display this Web Part error.
Is this casual behavior from SharePoint Designer, when inserting webparts inheriting the CQWP?