效果如图:


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

.aspx页:


<script type="text/javascript">
function goPage(event)
{
igtbl_pageGrid(event,'UltraWebGrid1',$("PageNum").value);
}
</script>
UltrGrid 的pager的设置为:


<pager allowcustompaging="True" allowpaging="True" changelinkscolor="True"
minimumpagesfordisplay="2" pagesize="20" quickpages="6" stylemode="QuickPages"
pattern="页码:[currentpageindex]/[pagecount] 每页:[pagesize] [page:1:first] [prev] [default] [next] [page:[pagecount]:last] <input id=PageNum size=2 type=text /><input id=btgo type=button value=go onclick=javascript:goPage(event) />">
<PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px"
Height="25px">
<borderdetails colorleft="White" colortop="White" widthleft="1px"
widthtop="1px" />
</PagerStyle>
</pager>