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
170
2009 v2 causes "IsSpecialRecord" run-time error message
posted

I've recently upgraded WinClient WPF from 2009 v1 to 2009 v2.  Code that did not produce a run-time error
message in v1 now produces:

 'IsSpecialRecord' property not found on 'object' ''<ViewModelClass>' (HashCode=12345678)'. BindingExpression:Path=IsSpecialRecord; DataItem='<ViewModelClass' (HashCode=12345678); target element is 'DataRecordPresenter' (Name=''); target property is 'NoTarget' (type 'Object')


I've read another thread where user daniel_ngn had this problem, but I don't understand the solution.

Nothing changed in my code.  How do I make my code not produce this error message with v2?

(attached is a VS2008 solution demonstrating the problem.)

Thanks,
- Dave

DataPresenterV91toV92.zip