<.NETFramework>
I am facing problems using a ContainerControl inside another ContainerControl. The child ContainerControl is not getting on the design surface probably. I'm not being able to drop any control (e.g a Button) on the inner ContainerControl. It is dropping the control (Button) on the outer ContainerControl instead. I know there is something like EnableDesignMode in Framewrok 2.0. But I cannot find it in Framewrok 1.1.
I would also like to share that I'm working on a TableControl that will be just like an HTML Table Control. I also know that Microsoft has provided a TableLayoutPanel with Framework 2.0. But due to some requirements I cannot go for it. Currently I'm trying to design something like this:
<Table type="ContainerControl">
<Row type="ContainerControl">
<Cell type="ContainerControl" />
<Cell type="ContainerControl" />
</Row>
<Row type="ContainerControl">
<Cell type="ContainerControl" />
<Cell type="ContainerControl" />
</Row>
</Table>
Its a simple XML representation of what I'm trying to do. Now the controls that the user will drop on my control in design mode, should be added to Controls property of a Cell. Also I should be able to access a user dropped control like this:
Ctype(Ctype(Table.Controls(i), Row).Controls(j), Cell).Controls(k)
Any help in this regard will be highly appreciated...
</.NETFramework>