views:

35

answers:

1

How to create a web control which will contain exactly two containers in ASP.NET 3.5. Like always exactly two columns (divs). I know default way allows you to have ControlCollection by overriding CreateControlCollection() method, but whis allows you to have only one container (or variable number of containers). Is there a way to always have exactly two containers in web control?

I want to archive something like this:

<MyControl> 
<LeftContainer> ... </LeftContainer>
<RightContainer> ... </RightContainer>
</MyControl>
A: 

There is no way to do it in ASP.NET 3.5

Artem