Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

'DeferRefresh' is not allowed during an AddNew or EditItem transaction.

$
0
0

Hi,

 

I have this exception when using my application. I know more or less where it comes from :

My application uses tabs. I open a tab containing a datagrid. When i double click on a cell, it automatically creates a new object (in the collection binded). However, lets say my cell is still in editing mode. If i open a new tab, and then want to go back in the previous one, I get this error message.

To avoid this problem, I would like my cell to stop editing mode anytime i click somewhere else.

Thanks by advance for your help.

 

Toast.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>