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?
In what event are you performing this validation, and what's the code you're using in your IsItemInList() call?
I am firing this method in the validate event. It looks like this was working before we moved to 8.1.. 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
It's not a matter of "believing" that the issue is happening when it didn't previously happen - I'm pretty certain you wouldn't spend time saying there's a problem if there wasn't!
A sample is important because it gives us the ability to test the same code you're using. When I say a "sample," I mean an application that is as concise as possible while still demonstrating the same behavior that you're experiencing in your application. At this point, we need such a sample to be able to continue research.
Well then, I guess you cannot help me, as I said earlier, getting code from our other system to this one is not possible, and we do not have dev tools or licences on our outside networks, so I don't know what to do at this point short of no longer using Infragistics
I tried to reproduce the problem you describe here with the latest version of the 2008.1 source, and was not able to. The IsItemInList method has two overloads; the parameterless one is implied to use the current value of the control's Text property, and the other one lets you specify the text. I tried both overloads, and both worked as expected, although I was somewhat surprised to see find that the method does appear to be case-sensitive. An overload could be added to allow the caller to specify whether to consider case when evaluating; if you like you can submit a feature request along those lines.
We certainly don't ever want to lose a customer, or miss the opportunity to fix an existing bug before it gets into the next release, but unless we can reproduce the issue, it makes it extremely difficult to fix it. As a developer you can surely understand this, so if there are any details you can provide that might help us reproduce, please repost and we can take a closer look.
Some further information, it appears that we are overloading a few of the methods associated with the ultracomboeditor, one being the validated method, the other being ItemNotInList. I am seeing the ItemNotInList being fired every time I enter text into the field, I don't know if that is what is causing the trouble with the Validated field, however I did notice today, while I was stopped in the debugger, for the first, I'd say 30 seconds or so, the IsItemInList Method was working exactly how I described a few posts above, however, after about 30 seconds or so, it started to work correctly. So I am not exactly sure what could be causing this delay, but I thought it was notable.