<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" TextAlign="Right" AutoPostBack="true" GroupName='<%# DataBinder.Eval (Container.DataItem, "Image Path") %>' OnCheckedChanged="rbtn_ftpimg_Changed" />
</ul>
</ItemTemplate>
</asp:DataList>
存储数据绑定值在上述ASCX代码,如何能够存储“<%#的DataBinder.Eval(的Container.DataItem, ”图像路径“)% >'某些其他变量的值,或简单地如何打印ImageUrl路径?如何在其他变量在asp.net
我不知道如果我理解你的问题。你有没有尝试从代码隐藏'imgftp.ImageUrl'? –
实际上它是一个实时网站,它已经显示了使用FTP加载的图像,而ascx显示了数据列表中的img,我的wrk是为每个图像放置单选按钮(因为imgs和img loc可能不同),以及在rB中选择适当的img shud的细节显示在警告框中,你有什么想法吗? – user1654537