Hi i'm developing web server controls for my project. When I use Inherits WebControl, the control can use the width of the control, but when I use Inherits Compositecontrol the width of the control stays=0 allthough I do see the control drawing with a certain width. Is their a list of properties a usercontrol will inherit when using inherits webcontrol? thanx ton
CompositeControl derives from WebControl. You'll see all that information on docs: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.compositecontrol.aspx Note that with CompositeControl styles etc should apply to child controls so that they'd had visible impact. -- Teemu Keiski AspInsider, ASP.NET MVP http://blogs.aspadvice.com/joteke http://teemukeiski.net "ton" wrote in message news:f55uqa$q6r$1@news1.zwoll1.ov.home.nl... > Hi > i'm developing web server controls for my project. > > When I use Inherits WebControl, the control can use the width of the > control, but when I use Inherits Compositecontrol the width of the control > stays=0 allthough I do see the control drawing with a certain width. > Is their a list of properties a usercontrol will inherit when using > inherits webcontrol? > > thanx > > ton