Wednesday 15 February 2012

ASP.NET how to create container control which will have exactly two containers? -


How to create a web control in two containers in ASP.NET 3.5. As always, exactly two columns (divs). I know that by default, you allow the control collection override the CreateControlCollection () method, but whis allows you to only contain one container (or variable number of the container). Is there always always a way for two containers in web control?

I want to store something like this:

  & lt; MyControl & gt; & Lt; LeftContainer & gt; ... & lt; / LeftContainer & gt; & Lt; RightContainer & gt; ... & lt; / RightContainer & gt; & Lt; / MyControl & gt;  

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

< / Div>

No comments:

Post a Comment