View Single Post
 
Old July 25th, 2005, 12:57 PM
bmains bmains is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default Composite Control

Hello,

I have a control that inherits from CompositeControl; I add controls to the controls collection in CreateChildControls, and edit Render to render the controls to the screen. This was the design of controls in 1.1, so I figured there would be some updating; however, it seems to work the same... if anybody has any ideas, let me know.

In addition, all of the controls are added as child controls to the custom control, why is that? Is that a new feature of 2.0? That doesn't seem right.... I have ParseChildren off; I only use a designer for rendering more detailed error messages; otherwise, I return the Design-Time HTML as is.

Thanks.

Brian
__________________
Brian