Has the implementation of FBL changed in CSLA4.
My ApplyFilter method does not result in any matches to my fLIst - and there are definitely matches:
Private Sub DisplayList(ByVal list As Library.CodeList)
Using busy As New StatusBusy("Loading Codes...")
Try
Dim fLIST As New Csla.FilteredBindingList(Of CodeInfo)(list)
If Len(cbCodeTypes.Text) > 0 Then
fLIST.ApplyFilter("CODETYPE", cbCodeTypes.SelectedValue.ToString)
End If
Me.CodeListBindingSource.DataSource = fLIST
mNUMBERRECORDS = fLIST.Count
LabelName.Text = Me.ToString
Me.Refresh()
Catch ex As Exception
MessageBox.Show(ex.ToString, _
"Error loading Codes", MessageBoxButtons.OK, _
MessageBoxIcon.Information)
End Try
End Using
End Sub
Any ideas?
Thanks,
Graham
Figured it out.
The Property parameter is case-sensitive.
Graham
Copyright (c) Marimer LLC