private void InitializeAll() { if (Case == null) { return; } InitializeIdentifiedProblemStatments(); InitializeToolbar(); MemberCaseCarePlanListView.Rebind(); ProblemClassListView.Rebind(); // INITIALIZE MEMBER CASE PROBLEM CLASS USER ASSIGNMENT InitializeMemberCaseProblemClassUserAssignment(); // INITIALIZE MEMBER CAE PROBLEM CLASS PROVIDER ASSIGNMENT InitializeMemberCaseProblemClassProviderAssignment(); return; }
protected void CarePlanToolbar_OnButtonClick(Object sender, Telerik.Web.UI.RadToolBarEventArgs e) { Telerik.Web.UI.RadToolBarButton button = (Telerik.Web.UI.RadToolBarButton)e.Item; if (button == null) { return; } switch (button.Text) { case "View by Problem Statement": CarePlanViewMode.Text = "ProblemStatement"; button.Text = "View by Care Plan"; MemberCaseCarePlanListView.Visible = (CarePlanViewMode.Text == "CarePlan"); ProblemClassListView.Visible = (CarePlanViewMode.Text == "ProblemStatement"); ProblemClassListView.Rebind(); break; case "View by Care Plan": CarePlanViewMode.Text = "CarePlan"; button.Text = "View by Problem Statement"; MemberCaseCarePlanListView.Visible = (CarePlanViewMode.Text == "CarePlan"); ProblemClassListView.Visible = (CarePlanViewMode.Text == "ProblemStatement"); MemberCaseCarePlanListView.Rebind(); break; default: break; } return; }