Esempio n. 1
0
        public void LoadShipper()
        {
            var shipper = ShipperController.getDropDownList();

            shipper[0].Text = "Shipper";
            ddlShipperFilter.Items.Clear();
            ddlShipperFilter.Items.AddRange(shipper.ToArray());
            ddlShipperFilter.DataBind();
        }
        public void LoadShipper()
        {
            var shipper = ShipperController.getDropDownList();

            shipper[0].Text = "Nhân viên giao hàng";
            // drop down list at filter page
            ddlShipperFilter.Items.Clear();
            ddlShipperFilter.Items.AddRange(shipper.ToArray());
            ddlShipperFilter.DataBind();
            // drop down list at update delivery modal
            ddlShipperModal.Items.Clear();
            ddlShipperModal.Items.AddRange(shipper.ToArray());
            ddlShipperModal.DataBind();
            // drop down list at print delivery modal
            ddfShipperPrintModal.Items.Clear();
            ddfShipperPrintModal.Items.AddRange(shipper.ToArray());
            ddfShipperPrintModal.DataBind();
        }