Beispiel #1
0
        /// <summary>
        ///     初始化页面数据
        /// </summary>
        private void InitData()
        {
            btnClose.OnClientClick = ActiveWindow.GetHidePostBackReference();

            //审核员
            GasHelper.DropDownListAuditorsDataBind(ddlAuditor);

            dptDate.SelectedDate = DateTime.Now;

            lblKeyId.Text = KeyId;
        }
Beispiel #2
0
        /// <summary>
        ///     页面初始化
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                SetPermissionButtons(Toolbar1);
                dpkFDateBegin.SelectedDate = Convert.ToDateTime(MonthFirstDay(DateTime.Now));
                dpkFDteEnd.SelectedDate    = DateTime.Now;

                GasHelper.DropDownListCompanyDataBind(ddlCompany);
                GasHelper.DropDownListAuditorsDataBind(ddlSeller);
                GasHelper.DropDownListCustomerDataBind(ddFCode);
            }
        }
Beispiel #3
0
        /// <summary>
        ///     页面初始化
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                SetPermissionButtons(Toolbar1);

                dpkFDate.SelectedDate = DateTime.Today;

                tbxFCustomer.OnClientTriggerClick = Window1.GetSaveStateReference(txtFCode.ClientID, tbxFCustomer.ClientID)
                                                    + Window1.GetShowReference("../../Common/WinCustomer.aspx");

                GasHelper.DropDownListCompanyDataBind(ddlCompany);
                GasHelper.DropDownListAuditorsDataBind(ddlSeller);
            }
        }