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
1385
v15.2 update now results in exception
posted

We are using a XamDataGrid, and when the user enters edit mode we use a XamMultiColumnComboEditor to display a number of items which can be clicked, or the text can be entered in autocomplete form.

Under v15.1 this worked fine, but in v15.2 we are getting an exception if the Escape key is pressed when the combo editor is displayed: "Collection was modified; enumeration operation may not execute."

We're trying to get a small sample app that shows the problem, but it is happening on the XamMultiColumnComboEditor where we handle OnPreviewKeyDown and check if the pressed key is the Escape key.  In that case we call ExecuteCommand(DataPresenterCommands.EndEditModeAndDiscardChanges) on the XamDataGrid to undo any changes and leave edit mode.

I'll try to get a sample as soon as possible, but by chance is there already a known issue which would explain this problem?

Parents Reply Children