problem with control id

R

Rafa³ Ziêba

I wrote a Control that has a Collection of Controls as one of properties. I
managed to add designer support for it. Then I created another Control that
has the first one as Item type of a Collection property. In essence there is
a control that is a collection of a collection and every step is derived
from Control.

The problem is that when I create it in the designer ID of a middle control
is not being generated. There is no ID attribute. ID's of controls of the
lowest level are ok. I'm using Visual Studio 2008 and everything is
rendering fine. I need those ID's and I've run out of ideas what can be
wrong?

Rafal
 
P

Peter Bucher [MVP]

Hi Rafal
The problem is that when I create it in the designer ID of a middle
control is not being generated. There is no ID attribute. ID's of controls
of the lowest level are ok. I'm using Visual Studio 2008 and everything is
rendering fine. I need those ID's and I've run out of ideas what can be
wrong?
Some example Code or illustrations?
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top