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');"); } } }
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); } }