CS Nuglet: The Invisible Content Part Man

Community Server Content Parts have been around for a long time, slick controls (still, after all these years…) that enable dynamic updates to a Community Server page content area.  My clients can’t get enough of them.

I was dropping one on a new Community Server page sidebar column the other day and the darn thing wouldn’t display.  Did I turn off the left column by not adding it to the .master page?  WHAT WAS HAPPENING TO ME????

Then I saw it–or didn’t see it, as the case would be.  There was no ContentName property, as in

<CSControl:ContentPart ID=”flashContentPart1″ runat=”server”
    ContentCssClass=”CommonContentPartBorderOff”
    ContentHoverCssClass=”CommonContentPartBorderOn”
    ContentName=”homeFlashLeft”>
    <DefaultContentTemplate>
       ….

So if you find yourself as Invisible Content Part Man, adding a ContentName property should restore the fidelity of that mirror’s reflection once again.

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.