CompositeControl Inheritance

E

Eric

I've created a control that inherits from CompositeControl. I want to use
this control as a base for other composite controls to inherit from. The
problem is that any controls that inherit from this one can't override any
composite control methods such as CreateChildControls.

Ideas?

Thanks
 
D

digitaljeebus

You should be able to override that control w/ no problems, as it's
protected / virtual ... maybe some code could help us help you?

Joe
 
P

Patrice

Should work. Always post the error message you have. In this case you could
probably also post the bare bone class that inherirs from your control and
tries to override CreateChildControls...
 
E

Eric

This was strange. I decided to start over and create new project of
type Web Control Library and recreated everything. It all appears to
work as I expected now. Thanks for your input
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top