示例#1
0
        //protected void RadGridDistributors_ItemDataBound(object sender, DataGridItemEventArgs e)
        //{
        //    DataGridItem item = e.Item;
        //    if (item.ItemIndex > -1 && item.DataItem is DistributorsDetailsView)
        //    {
        //        DistributorsDetailsView objDistributorDetails = (DistributorsDetailsView)item.DataItem;


        //        //HyperLink lnkEdit = (HyperLink)item.FindControl("lnkEdit");
        //        Literal lblName = (Literal)item.FindControl("lblName");
        //        lblName.Text = objDistributorDetails.Name;

        //        Literal lblNickName = (Literal)item.FindControl("lblNickName");
        //        lblNickName.Text = objDistributorDetails.NickName;

        //        Literal lblCoordinator = (Literal)item.FindControl("lblCoordinator");
        //        lblCoordinator.Text = objDistributorDetails.PrimaryCoordinator;


        //        Literal lblSecondaryCoordinator = (Literal)item.FindControl("lblSecondaryCoordinator");
        //        lblSecondaryCoordinator.Text = objDistributorDetails.SecondaryCoordinator;

        //        HyperLink lnkDelete = (HyperLink)item.FindControl("lnkDelete");
        //        lnkDelete.Attributes.Add("qid", objDistributorDetails.Distributor.ToString());

        //        HyperLink linkEdit = (HyperLink)item.FindControl("linkEdit");
        //        linkEdit.NavigateUrl = "/AddEditDistributor.aspx?id=" + objDistributorDetails.Distributor.ToString();



        //        if (objDistributorDetails.Clients == true || objDistributorDetails.DistributorLabels == true ||
        //            objDistributorDetails.DistributorPriceLevelCosts == true || objDistributorDetails.DistributorPriceMarkups == true || objDistributorDetails.DespatchTo == true ||
        //            objDistributorDetails.Order.Value == true || objDistributorDetails.ShipTo == true)
        //        {
        //            lnkDelete.Visible = false;
        //        }


        //    }
        //}

        protected void RadGridDistributors_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
        {
            this.ReBindGrid();
        }
 protected void rgTaiSan_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _tsEntity.Load_AllTaiSanOfKeKhai_ToRadGrid(rgTaiSan, _kekhaiID);
 }
示例#3
0
 protected void rgGiaiTrinh_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _gtEntity.Load_AllGiaiTrinhOfKeKhai_ToRadGrid(rgGiaiTrinh, _kekhaiID);
 }
示例#4
0
 protected void RGTxns_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     LoadTxns();
 }
 protected void RadGrid1_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     ManageGrid();
 }
示例#6
0
 protected void RadGridNhanVien_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _lvEntity.Load_LamViecDenNgay_ToRadGrid(RadGridNhanVien, _ngaycongtac);
 }
 protected void rgDGDV_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _dgEntity.Load_AllDanhGiaOfNhanVien_ToRadGrid(rgDGDV, _nhanvienID);
 }
        //protected void dgWeeklySummary_ItemDataBound(object sender, DataGridItemEventArgs e)
        //{
        //    DataGridItem item = e.Item;
        //    // total = 0;
        //    if (item.ItemIndex > -1 && item.DataItem is ReturnWeeklySummaryViewBO)
        //    {
        //        ReturnWeeklySummaryViewBO objWeekSummary = (ReturnWeeklySummaryViewBO)item.DataItem;

        //        Literal litWeekEnDate = (Literal)item.FindControl("litWeekEnDate");
        //        litWeekEnDate.Text = this.WeekEndDate.ToString("dd MMMM yyyy");

        //        Literal litShipmentMode = (Literal)item.FindControl("litShipmentMode");
        //        litShipmentMode.Text = objWeekSummary.ShipmentMode;

        //        Literal litShipTo = (Literal)item.FindControl("litShipTo");
        //        litShipTo.Text = objWeekSummary.CompanyName;

        //        HyperLink linkTotal = (HyperLink)item.FindControl("linkTotal");
        //        linkTotal.Text = objWeekSummary.Qty.ToString();
        //        linkTotal.NavigateUrl = "ViewWeekDetails.aspx?WeekendDate=" + this.WeekEndDate.ToString("dd/MM/yyyy") + "&CompanyName=" + objWeekSummary.CompanyName + "&sm=" + objWeekSummary.ShipmentModeID;

        //        TextBox txtInvoiceNo = (TextBox)item.FindControl("txtInvoiceNo");

        //        string invno = (new InvoiceBO()).SearchObjects().Where(o => o.ShipmentDate == objWeekSummary.ShipmentDate && o.ShipmentMode == objWeekSummary.ShipmentModeID && o.ShipTo == objWeekSummary.DistributorClientAddress).Select(o => o.InvoiceNo).SingleOrDefault();

        //        LinkButton btnCreateInvoice = (LinkButton)item.FindControl("btnCreateInvoice");
        //        btnCreateInvoice.Attributes.Add("widdate", this.WeekEndDate.ToString("dd MMMM yyyy"));
        //        btnCreateInvoice.Attributes.Add("sdate", Convert.ToDateTime(objWeekSummary.ShipmentDate.ToString()).ToString("dd MMMM yyyy"));
        //        btnCreateInvoice.Attributes.Add("smkey", objWeekSummary.DistributorClientAddress.ToString());
        //        btnCreateInvoice.Attributes.Add("smid", objWeekSummary.ShipmentModeID.ToString());

        //        if (!string.IsNullOrEmpty(invno))
        //        {
        //            txtInvoiceNo.Text = invno;
        //            txtInvoiceNo.Enabled = false;
        //            btnCreateInvoice.Visible = false;
        //        }

        //        total = total + (int)objWeekSummary.Qty;
        //    }
        //}

        protected void RadGridWeeklySummary_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
        {
            ReBindGrid();
        }
示例#9
0
 protected void rgLamViec_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _lvEntity.Load_AllLamViecOfNhanVien_ToRadGrid(rgLamViec, _nhanvienID);
 }
示例#10
0
 protected void RadGrid1_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     this.DataBing("");
 }
示例#11
0
 protected void rgKyLuat_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _klEntity.Load_AllKyLuatOfNhanVien_ToRadGrid(rgKyLuat, _nhanvienID);
 }
示例#12
0
 protected void rgDanhHieu_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _danhhieuEntity.Load_AllPhongTangDanhHieuOfNhanVien_ToRadGrid(rgDanhHieu, _nhanvienID);
 }
示例#13
0
 protected void rgTrinhDoTinHoc_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _tinhocEntity.Load_AllTrinhDoTinHocOfNhanVien_ToRadGrid(rgTrinhDoTinHoc, _nhanvienID);
 }
示例#14
0
 protected void rgKhenThuong_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _ktEntity.Load_AllKhenThuongOfNhanVien_ToRadGrid(rgKhenThuong, _nhanvienID);
 }
示例#15
0
 protected void RadGridQuaTrinhDaoTao_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _qtdtEntity.Load_DataSource_RadGrid(RadGridQuaTrinhDaoTao, _nhanvienID);
 }
示例#16
0
 protected void rdgTxns_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     LoadHistoryDet();
 }
示例#17
0
 protected void OccupantsGrid_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     LoadGridChart1();
 }
示例#18
0
 protected void RadGridQuanHe_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _quanheEntity.Load_DataSource_RadGrid(RadGridQuanHe, _nhanvienID);
 }
 protected void SAloneListView_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     LoadStandingAloneGrid();
 }
示例#20
0
 protected void RadGridNhanVien_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     LoadData();
 }
示例#21
0
 protected void rgAccount_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _accEntity.Load_AllAccount_ToRadGrid(rgAccount);
 }
示例#22
0
 protected void rgPhuTrachChamCong_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _ptccEntity.Load_AllPhuTrach_ToRadGrid(rgPhuTrachChamCong);
 }
示例#23
0
 protected void RadGrid1_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     select();
     RadGrid1.Rebind();//刷新
 }
示例#24
0
 protected void StaffandOthersView_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
 }
示例#25
0
 protected void rgKhoanNo_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _knEntity.Load_AllKhoanNoOfKeKhai_ToRadGrid(rgKhoanNo, _kekhaiID);
 }
示例#26
0
 protected void rgThuNhap_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _tnEntity.Load_AllThuNhapOfKeKhai_ToRadGrid(rgThuNhap, _kekhaiID);
 }
示例#27
0
 protected void ReceiptsGrid_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     RebindGrid();
 }
 protected void gv_precios_PageSizeChanged(object source, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     cargarGrilla_Stock_Ingresos();
 }
示例#29
0
 protected void rgCourier_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     retrieve();
 }
示例#30
0
 protected void RadGridThamGiaCTXH_PageSizeChanged(object sender, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
 {
     _TGCTXHEntity.Load_DataSource_Of_NhanVien_RadGrid(RadGridThamGiaCTXH, _nhanvienID);
 }