Example #1
0
        //分页
        protected void gridCheck_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            DataTable dtCheck = Session["CheckRecord"] as DataTable;

            gridCheck.PageIndex = e.NewPageIndex;
            BindGrid(gridCheck, dtCheck);
        }
Example #2
0
        //账单相信信息分页
        protected void gvDetail_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            gvDetail.PageIndex = e.NewPageIndex;
            int    currentrowindex = (int)ViewState["currentrowindex"];
            string billheadid      = gvList.Rows[currentrowindex].Values[0].ToString();

            BindBillDetail(billheadid);
        }
        //分页
        protected void GridOrders_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            GridOrders.PageIndex = e.NewPageIndex;
            Hashtable ht = ViewState["SearchWhere"] as Hashtable;

            ht["pageStart"] = GridOrders.PageSize * (GridOrders.PageIndex);
            ht["pageEnd"]   = GridOrders.PageSize * (GridOrders.PageIndex + 1);
            BindData(ht, false);
        }
 //分页
 protected void gvList_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     gvList.PageIndex = e.NewPageIndex;
     BindGrid(DictlabId);
     this.tbxFinalprice.Text = string.Empty;
     this.DatePicker1.Text   = string.Empty;
     this.DatePicker2.Text   = string.Empty;
     dictCountedId           = 0;
     dictlabandtestprice.Dictlabandtestpriceid = 0;
 }
Example #5
0
        //账单头信息分页
        protected void gvList_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            gvList.PageIndex = e.NewPageIndex;
            PageUtil  pageUtil = new PageUtil(gvList.PageIndex, gvList.PageSize);
            Hashtable ht       = (Hashtable)ViewState["sqlWhere"];

            ht["pageStart"] = pageUtil.GetPageStartNum();
            ht["pageEnd"]   = pageUtil.GetPageEndNum();
            BindData();
        }
Example #6
0
 protected void gr_SingleTitle_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     if (Session["SingleTitle"] != null)
     {
         gr_SingleTitle.PageIndex = e.NewPageIndex;
         DataTable       dt = Session["SingleTitle"] as DataTable;
         PagedDataSource ps = new PagedDataSource();
         ps.DataSource              = dt.DefaultView;
         ps.AllowPaging             = true;                     //是否可以分页
         ps.PageSize                = gr_SingleTitle.PageSize;  //显示的数量
         ps.CurrentPageIndex        = gr_SingleTitle.PageIndex; //取得当前页的页码
         gr_SingleTitle.RecordCount = dt.Rows.Count;
         gr_SingleTitle.DataSource  = ps;
         gr_SingleTitle.DataBind();
     }
 }
Example #7
0
        protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            //highlightRows.Text = "";
            //highlightRows1.Text = "";
            //highlightRows2.Text = "";

            //string[] split = highlightRows_bak.Text.Split(new Char[] { ',' });
            //highlightRows.Text = "";
            //for (int i = 0; i < split.Length-1; i++)
            //{
            //    if (Convert.ToInt32(split[i]) >= 15 * (e.NewPageIndex) && Convert.ToInt32(split[i]) < 15 * (e.NewPageIndex + 1))
            //    {
            //        highlightRows.Text += split[i]+",";
            //    }
            //}
            PageIndex.Text = e.NewPageIndex.ToString();
            Row_Colour_Screen();
            Grid1.PageIndex = e.NewPageIndex;

            //    BindGrid();
        }
 //分页
 protected void gdBulkImportDetailItem_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     gdBulkImportDetailItem.PageIndex = e.NewPageIndex;
     BindBulkImportDetailItem();
 }
Example #9
0
 //分页
 protected void gdOrders_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     gdOrders.PageIndex = e.NewPageIndex;
     BindgdOrders();
 }
Example #10
0
File: Grid.cs Project: g992com/esb
 protected virtual void OnPageIndexChange(GridPageEventArgs e)
 {
     EventHandler<GridPageEventArgs> handler = Events[_pageIndexChangeHandlerKey] as EventHandler<GridPageEventArgs>;
     if (handler != null)
     {
         handler(this, e);
     }
 }
 protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     Grid1.PageIndex = e.NewPageIndex;
 }
Example #12
0
 protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     PageIndex.Text  = e.NewPageIndex.ToString();
     Grid1.PageIndex = e.NewPageIndex;
 }
Example #13
0
 //分页
 protected void gvOrderUser_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     txtSearch.Text        = "";
     gvOrderUser.PageIndex = e.NewPageIndex;
     Binder();
 }
Example #14
0
 //分页
 protected void GridInfos_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     GridInfos.PageIndex = e.NewPageIndex;
     BindData();
 }
Example #15
0
        protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            grid1.PageIndex = e.NewPageIndex;

            StorefrontEleganceList_BindGrid();
        }
Example #16
0
 //分页
 protected void gvList_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     gvList.PageIndex = e.NewPageIndex;
     BindGrid();
 }
Example #17
0
        protected void Grid1_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
        {
            grid1.PageIndex = e.NewPageIndex;

            LinkList_BindGrid();
        }
Example #18
0
 protected void gr_title_PageIndexChange(object sender, ExtAspNet.GridPageEventArgs e)
 {
     this.gr_title.PageIndex = e.NewPageIndex;
     this.InitGrid(Session["CheckTitleToTempData"] as DataTable);
 }