我希望 an 中的所有图像都ImageButton
显示在单个 div 中
<asp:UpdatePanel ID="UPEmail" runat="server" UpdateMode="Always">
<ContentTemplate>
<asp:DataList ID="dlImages" runat="server" RepeatColumns="3" CellPadding="25" CellSpacing="25">
<ItemTemplate>
<asp:Imagebutton class="afbeelding" ID="Image1" CommandName='<%# Bind("Naam") %>' ImageUrl='<%# Bind("image", "http://url/Thumbs/{0}") %>' runat="server" style="width:200px; height: 250px; border: 2px grey solid;" /><br />
<asp:Label ID="Label1" runat="server" Text='<%# Bind("Naam") %>'></asp:Label>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:DataList>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ddlType" EventName="SelectedIndexChanged" />
<asp:AsyncPostBackTrigger ControlID="ddlCollection" EventName="SelectedIndexChanged" />
<asp:AsyncPostBackTrigger ControlID="ddlMateriaal" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>
有没有办法做到这一点?