在我的代码中,我使用中继器显示图像
<asp:Repeater ID="rptconvention" runat="server" >
<ItemTemplate>
<div style="float:left; width:200px;height:180px" >
<a href="pop-ups/ViewImage.aspx?lightbox[width]=510&lightbox[height]=415&Imgid=<%#Eval("ID")%>" class="lightbox textColorBlue">
<img src='<%= Settings.FransupportURL %><%# "Convension/images/" & Eval("Img")%>' alt='<%#Eval("Name")%>' Width="180px" Height="120px" style="border:0px;" />
</a>
<div style="text-align:center;float:left; padding-top:5px; width:180px; font-size:12px;"> <%# If(Eval("Description").ToString().Length < 25, Eval("Description"), Eval("Description").Substring(0, 25))%> </div>
<div style="text-align:center;float:left; padding-top:5px; width:180px; font-size:13px; ">
<a style="width: 81px!important;" href="pop-ups/ViewImage.aspx?lightbox[width]=510&lightbox[height]=415&Imgid=<%#Eval("ID")%>" class="lightbox textColorBlue">View</a> | <asp:LinkButton class="textColorBlue" id="btndownload" CommandName="Download" CommandArgument='<%#Eval("DownLoadImg")%>' runat="server" >Download </asp:LinkButton>
</div>
</div>
<div class="dvSpacingConv"> </div>
</ItemTemplate>
<FooterTemplate>
</FooterTemplate>
</asp:Repeater>
单击时,我使用灯箱弹出窗口显示图像并打开新页面,这是该页面的 html
<div class="popup_con_ph nopad">
<img id="Imgconvention" style="width: 500px; height: 308px;" runat="server" />
<div style="margin-top:8px; text-align:center;">
<input type="button" id="btnDownload" value="Download" onclick="DownloadImage();"
style="height: 28px !important; line-height: 10px !important;" tabindex="2" />
<input type="button" id="btnClose" value="Close" onclick="ClosePopup();"
style="height: 28px !important; line-height: 10px !important;" tabindex="2" />
</div>
</div>
我想在这里放上一个和下一个按钮并显示上一个和下一个图像。我怎样才能做到这一点..