Thanks Anton
I have read that article and used that method to properly render on the page any custom controls that have been added as widgets via the CK Editor.
But I don't think this solves the issue I am having, I am talking about the controls as they are rendered actually in the CK editor itself.