public void BindPlan(Guid subPlanID, ref DropDownList ddl) { var plan = Plan.GetPlanBySubPlanId(subPlanID); List <IPlanMessage> allPlans = Plan.GetProductPalns(plan.ProductName).FindAll(x => x.PlanName == plan.PlanName); BindPlan(allPlans, ref ddl); }
protected void Page_Load(object sender, EventArgs e) { HideParentPageHeading(); PopulatePlanPanel(PlanPanel1, Constant.EmailHosting, Plan.GetProductPalns(Constant.EmailHosting), divPlanFeature1, divPlanFeature2, divPlanFeature3, divPlanFeature4); }