Hi,
I have a bounded Ultracombo having following items in the list.
ID Code--------------------1 A 2 B3 Ccombo is binded with a table having two columns, ID and Code. DisplayMember is Code and ValueMember is ID. Whenever we type any data that is not in the list then ValueChanged event is firing twp times. Lets say I typed D in combo then
First time UltraCombo.Value comes as null and second time it comes as the data I typed ( "D" ). This is happening in 9.1 version dlls.In 8.1 version dlls it was working fine ( ValueChanged event was firing only once ). We were using 8.1 dlls and out application was designed to check value null for invalid data. After upgading the dlls all these problems get started.. Its crashing our application..
Are you guys going to fix this bug?
Thanks,Dhananjay
Hi Dhananjay,
I just tested this out in a small sample project and it seems to work fine for me. The event only fires once.
I am attaching the sample I used so that you can try it out and see if you get the same results. If you do, then there's some other factor at work in your application that is causing this. Maybe a property setting or the handling of an event.
If not, then it's probably because I'm usinga newer build than you and you should get the latest service release.
Hi Mike,
Why ultraCombo.Value is coming as invalid data? in earlier version dlls if we type invalid data ( If ValueMember does not match ) then Value was coming null. now its coming as typed invalid data... I think, earlier functionality was correct.. combo.Text should come as Typed text and Value should be null because ValueMember did not match.. Do you guys fix this Or this is new feature...?
ThanksDhananjay
I'm not 100% sure, but this seems like a bug that we fixed.
If you can post a small sample project which demonstrates the issue (you can attach a zip file to your post under the Options tab), I would be happy to take a look at it and see if I can find a workaround. At the very least, I should be able to confirm whether the problem is fixed in the latest service release for you.
Please find the sample project attached under Media (not sure is this the correct way to attach).
Thank you very much.
Well, I tried this out and (as I expected), it works fine for me. This was probably a bug in the release version of 8.2 which was fixed in a service release.
I don't see any way to work around this, but the service release is a free upgrade.
I have downloaded and installed the service release "NetAdvantage_WinForms_20082_CLR20_SR_2204"
However, I am still facing the same problem. Can you please advise me what I have missed out.
(Attached please find some screenshot which might help.)
I tried again, just to be sure, and your sample is working fine for me. I tried selecting any of the first 4 items on the list, which all have the same text and I get the ValueChanged event only once and when I drop down the list, the correct item is highlighted.
It's possible, though unlikely, that the internal build I am using has fixes in it which were never released. That would only happen if the fix was made right before the last release went out. If that is the case, then it means that the issue is only fixed in v8.3 and up publicly.
I recommend that you try downloading a trial of the latest release (10.3) and see if it works in that version.
Sorry, I guess I was thinking about UltraComboEditor. There are no such events on UltraCombo.If you don't need multiple columns in your list, you might want to consider using UltraComboEditor, instead of UltraCombo. I don't think this problem occurred in both controls.
Can't find any Before/AfterExitEditMode events for UltraCombo. Anyway, thanks a lot for the info.
I don't think there's any way to work around this.
You can try using the Before/AfterExitEditMode events.
There is no event that fires when the user is finished typing, because it's impossible for the control to know when they are "finished". You might be able to make use of the Validating event, which will fire when they try to leave the control.
But personally, I doubt that any of these events will help.
Any work around you may think of? I don't think by any chances our company will take the risk to upgrade it to v10.3.
May I know what is the event UltraCombo control fire when it out of the edit mode? Or may I know what is the event fire when user finished entering the text manually in the text box?
If the latest service release for 8.2 is not working, then there's nothing we can do. That version is over 3 years old and is no longer being updated.