Disable creation of member variables for ascx control

A

Achim Domma

Hi,

I have an ascx control which derives from a base class, which already
has members for child controls in the ascx. If I edit the ascx in visual
studio 2005, the derived class get's automatically the same members
which hide these from the base class.

The compiler shows an warning, but the code compiles but does not work,
because I have the child controls twice and only on instance is set.

Is it possible to disable automatic generation of member variables for ascx?

regards,
Achim
 

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,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top