username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCPager.ascx.cs" Inherits="CY.WebForm.Pages.common.UCPager" %>
<script type="text/javascript">
 
 
var oldReLoad = window.ReLoad ;
 
window.ReLoad=  function () { 
    var pageIndex=<%=AspNetPager1.CurrentPageIndex %>;
//    if(pageIndex>1)
//    { 
        __doPostBack('UCPager1$AspNetPager1', '<%=AspNetPager1.CurrentPageIndex %>')
//    }
//    else
//    { 
//        oldReLoad();
//    }
 
 
$(
    function()
    {
        var newDiv=$("<div class='CB'></div>");
        $("#UCPager1_AspNetPager1").append(newDiv);
        $("#page").find('.paginator').find('.paginator').first().css("text-align","right").css("line-height","25px");
        $("#page").find('.paginator').first().css("float","right");
    }
);
 
</script>
<div id="page">
<webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="paginator" CurrentPageButtonPosition="Center" CustomInfoHTML="共<font style='font-size:13'>%RecordCount%</font>条" ShowCustomInfoSection="Left" Width="100%" CustomInfoSectionWidth="100px" PageIndexBoxType="TextBox" ShowPageIndexBox="Always" SubmitButtonText="Go" TextAfterPageIndexBox="页" AlwaysShow="true" TextBeforePageIndexBox="转到" PrevPageText="上一页" NextPageText="下一页" FirstPageText="首页" LastPageText="末页" PageSize="25" CurrentPageIndex="1">
</webdiyer:AspNetPager>
<div class="CB"></div>
</div>