I'm working on a custom search results page, located in the layouts folder. The idea is that depending on the site where the search was performed, the refinement panel will be shown or not (as asp:panel is shown or hidden accordingly). I mention this to explain why I'm creating a custom application page, rather than just a regular SharePoint page in a Pages library.
A colleague is creating a bunch of custom refinements, so the refinement category Managed Metadata Columns is needed, but all the default categories (site, author, etc) should be removed. To achieve this we customized the FilterCategoriesDefinition.
Naturally in order to use this custom FilterCategoriesDefinition we also have to set UseDefaultConfiguration to be False. However, when we do this last part, the rendering of the refinements panel is broken - see screenshot below.
If I reset the web part to use the default FilterCategoriesDefinition (i.e. I add the web part to a page in SharePoint Designer, then copy the full web part definition to my custom page) and only change UseDefaultConfiguration to be False, the rendering is still not working correctly.
We tried this on a relatively unchanged ootb SharePoint Server 2010 installation, with default master pages and page layouts (i.e. no branding), and the same issue exists there, so I'm suspecting my heavily branded site is not the issue.
Any ideas?
Here's a screenshot of what I mean: 