I am trying to get the RadAutoCompleteBox to provide an unfiltered list in certain scenarios, such as when the control initially gets the focus and the current value is not in the list. I am experimenting with the FilterMemberProvider, and it's not working as I expected.
Just for testing purposes, I have the following code in my custom control derived from RadAutoCompleteBox:
this.FilterMemberProvider = CustomFilterBehavior;
public string CustomFilterBehavior(object obj)
// actual intention is to return this.Text in certain scenarios to prevent filtering,
// and normal filter value in other scenarios
This test code has not changed the behavior of my control at all -- it still filters normally. I put a breakpoint in the CustomFilterBehavior method, and see that it is never called. I have tried setting the FilterMemberBehavior in the constructor of my control or in OnLoaded; and get the same result.
Is there something else I need to do to use the FilterMemberProvider?
Or is there a better way to force the suggestions control to show an unfiltered list in certain scenarios?