Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
MultiSelect UltraCombo as an EditorComponent Unhandled Exception
posted

Hello,

we have an application which uses a WinGrid with 3 bands.

On the second band we have 3 columns: Suppliers, Quantities and a third colum which uses a MultiSelect UltraCombo with the list of Orders for that supplier. After selecting the Orders by checking them on the UltraCombo it adds new rows to a third band listing the orders I choosed.

First time it works like a charm! On the BeforeCellListDropDown event I load all the orders for that specific supplier and there's no Errors.

When I pass on to another supplier it throws an Unhandled Exception like on the picture attached. The exception window appears after the BeforeCellListDropDown and not always... but 90% of the time...

It doesn't happen if I select the rows in the combo in order (from top of the list to bottom) as long as I select the first item on the list... everything else throws this error...

What could be wrong?

Please help because this project is due to deliver this week!

Many thanks.

Parents
  • 469350
    Offline posted

    Hi,

    I can't see enough of the call stack of the exception to even take a reasonable guess here. Can you post the entire call stack. I'm pretty sure you can copy and paste the text from that dialog.

    If you could post a small sample project demonstrating the exception that would be even better. My guess is that the issue has something to do with the fact that you are adding child rows in response to the selection from a DropDown in the grid. But without knowing what your code is doing and what events it's doing it in, it's impossible to guess.

Reply Children