Following on from our conversation here
, I've been working on a custom module based on your example linked at the bottom of the thread.
A small detail I have noticed is that within other modules in Sitefinity, a modules.css is linked within the page, but when working with your code / derived module code, the modules.css is omitted from the HTML output. This is causing layout issues as the modules.css file corrects layout issues within the example markup.
Is there a "proper" way of linking the modules.css into custom modules, rather than hardcode paths into the markup within the module's assembly?
I have seen the AddView<TView> method within an iGenericContentHost control have a parameter titled "viewCommandCssClass", but I can't see how that relates to it - is there another way?