效果如图:
.aspx页:
function goPage(event)
{
igtbl_pageGrid(event,'UltraWebGrid1',$("PageNum").value);
}
</script>
UltrGrid 的pager的设置为:
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>