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
The Service Release build 9.2.20092.2001 fixes the problem.
Thanks!
- DAve
I had the same problem. I started w/ 2009 v.2 (9.2.20092.1007 No service release) . I found that it went away when I removed the following line:
XamGrid.DataContext = _context;
I probably thought I needed it based on some example but it didn't do anything besides generating bad juju to the output window.
Hope this will work for you.
I was having the same problem, and it went away after installing the service release.
Hello,
I just tested your sample and I am not able to reproduce this - under XP and Vista - using the latest service release for 9.2 (9.2.20092.2001).
If you still are experiencing the problem with this sample, please try it with the service release.
I have the same problem!
Waiting for an answer as well.