protected void Page_Load(object sender, EventArgs e) { try { System.Threading.Thread.Sleep(int.Parse(ConfigurationManager.AppSettings["AjaxPleaseWaitTime"])); if (!Page.IsPostBack) { BindCPIS(); BindMonths(); Ddlyear.Items.FindByText(DateTime.Today.Year.ToString()).Selected = true; Objcf.BindRegion(DdlRegion); trRegion.Visible = false; trBranch.Visible = false; Ddlyear_SelectedIndexChanged(Ddlyear, null); dvLogic1.Visible = false; dvLogic2.Visible = false; dvLogic3.Visible = false; dvLogic4.Visible = false; dvLogic5.Visible = false; } } catch (Exception ex) { CommonClass.WriteErrorErrFile(Request.RawUrl.ToString(), ex.StackTrace.ToString() + "-->" + ex.Message.ToString()); } }