DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 18 Jun 2007 14:46:04 +0200,    posted on: microsoft.public.dotnet.framework.aspnet.buildingcontrols        back       

Thread Index
  1    ton
          2    Teemu Keiski


difference Inherits CompositeControl vs Inherits WebControl   
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
Date:Mon, 18 Jun 2007 14:46:04 +0200   Author:  

Re: difference Inherits CompositeControl vs Inherits WebControl   
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 
Date:Sun, 24 Jun 2007 10:49:04 +0300   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us