private void BindAvailableReports(int planId) { List <Report> reports = PlanHelper.GetPlanReports(planId); rptBasicReportList.DataSource = reports; rptBasicReportList.DataBind(); if (SessionWrapper.OrderDetail != null && SessionWrapper.OrderDetail.ProfessionId != 0) { List <Report> optReport = PlanHelper.GetOptionalReports(planId, SessionWrapper.OrderDetail.ProfessionId); if (optReport.Count != 0) { lblOptRpt.Visible = true; rptOptionalPlans.DataSource = PlanHelper.GetOptionalReports(planId, SessionWrapper.OrderDetail.ProfessionId); rptOptionalPlans.DataBind(); } else { lblOptRpt.Visible = false; } } hdnEmpInfoReq.Value = reports.IsEmpInfoRequired().ToString(); hdnEduInfoReq.Value = reports.IsEduInfoRequired().ToString(); hdnLicInfoReq.Value = reports.IsLicInfoRequired().ToString(); hdnRefInfoReq.Value = reports.IsRefInfoRequired().ToString(); hdnDrugVerificationPlan.Value = reports.IsDrugVerificationRequired().ToString(); hdnPlanID.Value = planId.ToString(); }