<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="~/js/prototype.js" />
<asp:ScriptReference Path="~/js/scriptaculous.js?load=effects" />
<asp:ScriptReference Path="~/js/lightbox.js" />
</Scripts>
</asp:ScriptManager><asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div class="picture">
<asp:Repeater ID="repeater_Picture" runat="server">
<ItemTemplate>
<div class="box">
<a href='<%#Eval("FileUrl") %>' rel="lightbox[plants]" title='<%#Eval("Title").ToString()+":"+Eval("ContentByText").ToString() %>'>
<div class="content">
<div class="image">
<img src='<%#Eval("ThumbUrl") %>' alt='<%#Eval("Title") %>' /></div>
<div class="title">
<%#Eval("Title") %></div>
</div>
</a>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="%CurrentPageIndex%/%PageCount%"
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged"
PrevPageText="上一页" ShowPageIndexBox="Always" Width="100%" HorizontalAlign="Right"
PageIndexBoxType="DropDownList">
</webdiyer:AspNetPager>
</ContentTemplate>
</asp:UpdatePanel>
在第一页时,可以弹出lightbox,但翻至第二页、第三页、......,均无法显示lightbox。如果不用UpdatePanel也可正常显示。我实在是不知道是什么原因,请教各位了!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货