protected void ddlCountryList_SelectedIndexChanged(object sender, EventArgs e) { var coutryCode = ddlCountryList.SelectedValue; ddlReportingPeriod.Bind(DBReadManager.GetAllIncomingReportingPeriods(coutryCode), "ReportingPeriod", "ID"); LoadCBC(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { LoadCBC(); Common.GetAllForeignCountries(ddlCountryList); ddlReportingPeriod.Bind(DBReadManager.GetAllIncomingReportingPeriods(), "ReportingPeriod", "ID"); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ViewState["prevPage"] = Request.UrlReferrer; Common.GetAllForeignCountries(ddlCountryList); ddlReportingPeriod.Bind(DBReadManager.GetAllIncomingReportingPeriods(), "ReportingPeriod", "ID"); LoadCBC(); } }