コード例 #1
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     if (!X.IsAjaxRequest)
     {
         if (!IsPostBack)
         {
             cur = ControlBinder.getCurrency("f", SYS);
             ComboBoxBinding();
             DataBindList();
             FI_Currency.Text = cur;
             LockControl();
             //X.AddScript("showCompanyRemark('CmbShipperCode,CmbConsignee,CmbNotify1,CmbNotify2,CmbBroker', 'Shipper,Consignee,Notify #1,Notify #2,Broker');");
         }
     }
 }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!X.IsAjaxRequest)
     {
         hidSeed.Text = Request["seed"] == null ? "0" : Request["seed"];
         hidMAWB.Text = Request["MAWB"] == null ? "0" : Request["MAWB"];
         ControlBinder.DateFormat(txtFreeStorageStart);
         ControlBinder.DateFormat(txtFreeStorageEnd);
         ControlBinder.DateFormat(txtPickUp);
         ControlBinder.DateFormat(FI_Date);
         ControlBinder.DateFormat(r_ETD);
         ControlBinder.DateFormat(r_ETA);
         FI_Currency.Text = ControlBinder.getCurrency("f", SYS);
         cur = ControlBinder.getCurrency("f", SYS);
     }
 }