protected void Page_Load(object sender, EventArgs e) { InvoiceId = Convert.ToInt32(Request["id"]); if (!IsPostBack) { FileDownloadList1.InitFileDownloadList((int)CConstValue.Upload.Refund); RefundInfo1.InitReundInfo(InvoiceId, CurrentSiteLocationId, true); } }
protected void Page_Load(object sender, EventArgs e) { InvoiceId = Convert.ToInt32(Request["id"]); if (!IsPostBack) { FileDownloadList1.InitFileDownloadList((int)CConstValue.Upload.ProgramChange); RefundInfo1.InitReundInfo(InvoiceId, CurrentSiteLocationId, true); ///////////////// var global = new CGlobal(); var student = new CStudent().Get(InvoiceId); LoadAgency(student.SiteLocationId); ddlAgencyContact.Items.Insert(0, new RadComboBoxItem("-None-", "0")); LoadFaculty(); LoadProgramGroup("0"); LoadProgram("0"); var cCountry = new CCountry().Get((int)student.CountryId); ViewState["CountryMarketId"] = cCountry.CountryMarketId; tbRequestDate.SelectedDate = DateTime.Now; ddlProgramWeeks.DataSource = GetProgramWeeksList(); ddlProgramWeeks.DataTextField = "Name"; ddlProgramWeeks.DataValueField = "Value"; ddlProgramWeeks.DataBind(); ddlProgramWeeks.Items.Insert(0, new RadComboBoxItem("-Select Weeks-", "0")); ddlPrgHours.DataSource = global.GetDictionary(150); ddlPrgHours.DataTextField = "Name"; ddlPrgHours.DataValueField = "Value"; ddlPrgHours.DataBind(); ddlPrgHours.Items.Insert(0, new RadComboBoxItem("-Select HRS-", "0")); } }
protected void Page_Load(object sender, EventArgs e) { InvoiceId = Convert.ToInt32(Request["id"]); if (!IsPostBack) { FileDownloadList1.InitFileDownloadList((int)CConstValue.Upload.Transfer); RefundInfo1.InitReundInfo(InvoiceId, CurrentSiteLocationId, true); ////////////// tbRequestDate.SelectedDate = DateTime.Now; var global = new CGlobal(); ddlSite.DataSource = global.GetSiteId(); ddlSite.DataTextField = "Name"; ddlSite.DataValueField = "Value"; ddlSite.DataBind(); ddlSite.Items.Insert(0, new RadComboBoxItem("- Select School -", "0")); ddlSiteLocation.Items.Insert(0, new RadComboBoxItem("-Select Campus-", "0")); } }