/// <summary> /// 页面初始化 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { SetPermissionButtons(Toolbar1); dpkFDateBegin.SelectedDate = DateTime.Now; //dpkFDateEnd.SelectedDate = DateTime.Now; GasHelper.DropDownListBottleAllDataBind(ddlBottle); GasHelper.DropDownListSalesmanDataBind(ddlFSalesman); LoadTreeSource(); //全部 BindDataGrid(); } }
/// <summary> /// 页面初始化 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { SetPermissionButtons(Toolbar1); //GasHelper.DropDownListCompanyDataBind(ddlCompany); LoadTreeSource(); dpkFDateBegin.SelectedDate = DateTime.Now; GasHelper.DropDownListAreasDataBind(ddlFArea); GasHelper.DropDownListSalesmanDataBind(ddlFSalesman); GasHelper.DropDownListBottleAllDataBind(ddlBottle); tbxFCustomer.OnClientTriggerClick = Window1.GetSaveStateReference(txtFCode.ClientID, tbxFCustomer.ClientID) + Window1.GetShowReference("../../Common/WinCustomer.aspx"); } }