protected void Bind_GridViewTherapist() { string term = TextboxSearch.Text.Trim().ToLower(); List <Classes.Entity.Therapist> therapists = patientBLL.GetCurrentTherapists(term); ViewState["GridViewTherapist"] = therapists; GridViewTherapist.DataSource = therapists; GridViewTherapist.DataBind(); UpdatePanelAccounts.Update(); }
protected void LinkButtonFineGrainAllow_Click(object sender, EventArgs e) { string termAllowed = TextboxSearchFineGrainAllow.Text.Trim().ToLower(); List <Classes.Entity.Therapist> therapistsAllowed = patientBLL.GetCurrentTherapists(termAllowed); GridViewFineGrain.DataSource = therapistsAllowed; GridViewFineGrain.DataBind(); UpdatePanelFineGrain.Update(); }