First off, thanks for the new "Contains" feature. It works great with one possible exception.
One of my WinCombo's datasource is a list of Statuses, two of which have DisplayValues of "Issued" and "Re-Issued". The AutoCompleteMode is set to "Suggest" and AutoSuggestFilterMode is set to "Contains" for this WinCombo. The auto suggest in combination w/ contains works great when an end user is making their selection but I have hit an issue with this. I programatically set the value of this WinCombo when another form event fires and even though I am setting the valuemember for "Issued" , the WinCombo auto suggests both "Issued" and "Re-Issued."
Upon further investigation, the value portion is set properly but even though it has a valid value, it suggests more options (based off of the new "Contains" property). What bothers me is that this happens even if the control doesn't have focus. I know how to determine if a WinCombo is dropped down and also close it but I certainly don't want to have to put this type of extra processing throughout my application.
So my question is this, is this a "Bug/Issue" or is there a property that I can also enable/disable on the WinCombo to correctly take advantage of the "Contains" AutoSuggestFilterMode?
-Ian
Hi Ian,
I'm afraid I am not following you. You are saying that you are setting the Value property of the combo in code and the control does not have focus, but you are seeing suggestions pop up? If that's the case, then it's clearly a bug.
Mike-
Sorry for the confusion but yes. The combo box doesn't have focus but I when setting the value, it is auto suggesting. I don't have a small snipet of code currently but if you need one, I am sure I could come up with something.
I made a quick demo but only having a few controls I wasn't able to duplicate the issue either. If I can track down more info from my main application, I will post it here.
Thanks for checking into it. For now, I just put some code to check if it is dropped down after setting the value.
I tested this out and it works fine for me. Settings the Value in code when the control does not have focus does not display any suggestions, which is correct.
I'm attaching my sample here so you can run it and see if you get the same results.
If not, then this must be a problem with the version of the controls you are using. I, of course, am using the latest service release. So in that case, you should get the latest service release and see if that helps.
How to get the latest service release - Infragistics Community
If my sample does not have the problem, then there must be some other factor at work here, and we will need a small sample project from you that demonstrates the issue so we can check it out.