I have a ComboEditor containing several values. The validation (IsItemInList()) works fine if I select the value from the pulldown, but if I type the value into the combo, then the IsItemInList() call always returns false. It is typed exactly as it is in the combo. Any ideas?
Unfortunately, our dev environments are not on a network that I can copy code from. Unfortunately, you'll have to take my word for the fact that the isItemInList call worked for our combo boxes before, and now does not. We are simply adding strings to the control, nothing fancy, but unless we use the drop down to select an item, the IsItemInList always returns false. even when I step in the debugger and copy the exact string, nets the same result
We'll need more information to know what approach you're taking, and thus to determine whether the approach should work now or should have worked in the first place.
I suggest that you submit a support request so that a Developer Support Engineer can work with you to research this further. You should attach to this request a sample project that works if you run against our 8.1 assemblies but doesn't do what you expect it to do in later releases. We'll use this sample to research what's happening, determine if the result should be expected, and take steps to resolve the issue if a fix is required on our end.
I am firing this method in the validate event. It looks like this was working before we moved to 8.1.. any ideas?
I'm not sure which event I'm using for valiation (most likely on exit, or focus lost) but I got the desired result by checking if SelectedItem != null. This seems to work
In what event are you performing this validation, and what's the code you're using in your IsItemInList() call?