Make sure you have included the System.Design.dll assembly as a reference in your project, and also make sure you fully qualify the class name:
System.Web.UI.Design.WebControls.CompositeControlD esigner
or include the System.Web.UI.Design.WebControls namespace using a "using" or "Imports" statement depending on your language of choice.
More info on the CompositeControlDesigner class can be found here:
http://msdn2.microsoft.com/en-us/lib...ldesigner.aspx
Devin