Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net NET如何创建正好有两个容器的容器控件?_Asp.net_Asp.net Controls - Fatal编程技术网

Asp.net NET如何创建正好有两个容器的容器控件?

Asp.net NET如何创建正好有两个容器的容器控件?,asp.net,asp.net-controls,Asp.net,Asp.net Controls,如何在ASP.NET 3.5中创建正好包含两个容器的web控件。就像总是正好有两列(div)。我知道默认方式允许您通过重写CreateControlCollection()方法来拥有ControlCollection,但whis只允许您拥有一个容器(或可变数量的容器)。有没有一种方法可以使web控件中始终有两个容器 我想归档如下内容: <MyControl> <LeftContainer> ... </LeftContainer> <RightCont

如何在ASP.NET 3.5中创建正好包含两个容器的web控件。就像总是正好有两列(div)。我知道默认方式允许您通过重写CreateControlCollection()方法来拥有ControlCollection,但whis只允许您拥有一个容器(或可变数量的容器)。有没有一种方法可以使web控件中始终有两个容器

我想归档如下内容:

<MyControl> 
<LeftContainer> ... </LeftContainer>
<RightContainer> ... </RightContainer>
</MyControl>

... 
... 

在ASP.NET 3.5中无法执行此操作

在ASP.NET 3.5中无法执行此操作