DataGrid gives ValidatesOnNotifyDataError
Posted: Wed Jun 24, 2015 8:03 am
I have an old application that has worked very well, but now all of a sudden I get this error
On this line and position there is nothing that has any reference to this error.
Strangely if I take the project as is, and rebuild it the it works. But if I make a change to Screen1.Script.cs and then build it I get this error.
I have looked at the two version of the xaml file and there are differences but none that have anything to do with the 'ValidatesOnNotifyDataError' property. This property exists in the original source...
It might have something to do with a DataGrid Control. If I create a new project and only add a DataGrid (System.Windows.Controls PresentationFramework) I get the same error...
Anyone that have a clue what is wrong?
and it points to the Screen1.xaml Line 87 Position 71The property 'ValidatesOnNotifyDataError' does not exist in XML namespace 'http//schemas.microsoft.com/winfx/2006/xaml/presentation'
On this line and position there is nothing that has any reference to this error.
Strangely if I take the project as is, and rebuild it the it works. But if I make a change to Screen1.Script.cs and then build it I get this error.
I have looked at the two version of the xaml file and there are differences but none that have anything to do with the 'ValidatesOnNotifyDataError' property. This property exists in the original source...
It might have something to do with a DataGrid Control. If I create a new project and only add a DataGrid (System.Windows.Controls PresentationFramework) I get the same error...
Anyone that have a clue what is wrong?