ascx
実際、指定されたフォルダーに画像を表示するファイルに取り組んでいます。
タスクは、各画像にラジオ ボタンを配置することです。ラジオ ボタンが選択されると、適切な画像の詳細 (画像の名前など) がポップアップ ボックスに表示されます。
お願い、仕事を終わらせるのを手伝って!
<asp:DataList ID="dlAssignftp" Visible="false" runat="server" RepeatColumns="5" RepeatDirection="Vertical"
HorizontalAlign="left" CellPadding="1" CellSpacing="1" Width="100%">
<ItemTemplate>
<ul class="gallery clearfix slideshow">
<li>
<a href='<%# DataBinder.Eval (Container.DataItem, "Image Path") %>' rel="prettyPhoto[pp_gal]">
<asp:Image ImageUrl='<%# DataBinder.Eval (Container.DataItem, "Image Path") %>' ID="imgftp"
runat="server" Height="100px" Width="100px" Visible="true" />
</a>
</li>
<asp:RadioButton ID="rbtn_ftpimg" runat="server" Text="Select" GroupName="rbtn_ftpimg_grp" Checked="false" TextAlign="Right" OnCheckedChanged="rbtn_ftpimg_Changed" AutoPostBack="true" />
</ul>
<%--</a>--%>
</ItemTemplate>
</asp:DataList>