protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { CriminalAlacartReportList.DataSource = dispalyReport(Constant.CRIMINAL_REPORT_TYPE); CriminalAlacartReportList.DataBind(); VerificationAlacartReportList.DataSource = dispalyReport(Constant.VERIFICATION_REPORT_TYPE); VerificationAlacartReportList.DataBind(); MiscellaneousAlacartReportList.DataSource = dispalyReport(Constant.MISCELLANEOUS_REPORT_TYPE); MiscellaneousAlacartReportList.DataBind(); //ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "alert", "disableNextBtn();", true); } SessionWrapper.RequiredInformation = new RequiredInformation(); if (SessionWrapper.LoggedUser != null) { hdnUserLoggedIn.Value = "True"; } else { hdnUserLoggedIn.Value = "False"; } Label lblSearchByProf = ucSearchHeader.FindControl("lblSelectByProf") as Label; lblSearchByProf.Text = "Select Reports"; Label lblImport = ucSearchHeader.FindControl("lblChoosePlan") as Label; lblImport.ForeColor = System.Drawing.Color.FromArgb(153, 0, 0); Image imgBtnImport = ucSearchHeader.FindControl("imgBtnDot2") as Image; imgBtnImport.ImageUrl = "~/Images/color_hover_round.png"; SessionWrapper.OrderDetail = null; SessionWrapper.OrderDetail = new OrderDetails(); SessionWrapper.ModuleName = Constant.UNCOVER_BACKGROUND; UpgradeReportPackage.ModuleName = Constant.UNCOVER_BACKGROUND; GetStateCriminalAccessFeesList(); GetFederalCriminalAccessFeesList(); GetCountyCriminalAccessFeesList(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { CriminalAlacartReportList.DataSource = dispalyReport(Constant.CRIMINAL_REPORT_TYPE); CriminalAlacartReportList.DataBind(); VerificationAlacartReportList.DataSource = dispalyReport(Constant.VERIFICATION_REPORT_TYPE); VerificationAlacartReportList.DataBind(); MiscellaneousAlacartReportList.DataSource = dispalyReport(Constant.MISCELLANEOUS_REPORT_TYPE); MiscellaneousAlacartReportList.DataBind(); ModuleName = SessionWrapper.ModuleName; PlanId = SessionWrapper.OrderDetail.PlanId != null?SessionWrapper.OrderDetail.PlanId:0; ProfId = SessionWrapper.OrderDetail.ProfessionId != null?SessionWrapper.OrderDetail.ProfessionId:0; } //SessionWrapper.RequiredInformation = new RequiredInformation(); if (SessionWrapper.LoggedUser != null) { hdnUserLoggedIn.Value = "True"; } else { hdnUserLoggedIn.Value = "False"; } Label lblSearchByProf = ucSearchHeader.FindControl("lblChoosePlan") as Label; lblSearchByProf.ForeColor = System.Drawing.Color.FromArgb(153, 0, 0); Image imgBtnSelectProf = ucSearchHeader.FindControl("imgBtnDot2") as Image; imgBtnSelectProf.ImageUrl = "~/Images/color_hover_round.png"; Label lblPageHeader = ucSearchHeader.FindControl("lblSelectByProf") as Label; lblPageHeader.Text = "Upgrade Package"; GetStateCriminalAccessFeesList(); GetFederalCriminalAccessFeesList(); GetCountyCriminalAccessFeesList(); }