I have a textbox. When text is entered it fires the event handler below. The matched text ** is** highlighted (I do not have any code added to make it highlight) but the rows that do not have matches do not disappear. My code:
private void FilterList(object sender, EventArgs e) { TextBox tb = (TextBox)sender; fastDataListView1.ModelFilter = TextMatchFilter.Contains(fastDataListView1, tb.Text); fastDataListView1.Refresh(); }
Log in to post a comment.
I have a textbox. When text is entered it fires the event handler below. The matched text ** is** highlighted (I do not have any code added to make it highlight) but the rows that do not have matches do not disappear. My code: