Binding errors in source code
Hello,
I've just finished chapter 7, I've noticed that there are many binding errors displayed in Output window when compiled book's source code is run, Chapter 07\Sample 8 - Polishing (the same errors I see in my code), here are errors for first displayed screen:
System.Windows.Data Error: BindingExpression path error: 'DisplayName' property not found on 'New item placeholder row. Click or type to add a new row.' 'Microsoft.LightSwitch.Presentation.Framework.NewI temPlaceholderDataContext' (HashCode=7958508). BindingExpression: Path='DisplayName' DataItem='New item placeholder row. Click or type to add a new row.' (HashCode=7958508); target element is 'System.Windows.Controls.DataGridCell' (Name=''); target property is 'AutomationProperties.Name' (type 'System.String')..
System.Windows.Data Error: BindingExpression path error: 'Description' property not found on 'New item placeholder row. Click or type to add a new row.' 'Microsoft.LightSwitch.Presentation.Framework.NewI temPlaceholderDataContext' (HashCode=7958508). BindingExpression: Path='Description' DataItem='New item placeholder row. Click or type to add a new row.' (HashCode=7958508); target element is 'System.Windows.Controls.DataGridCell' (Name=''); target property is 'AutomationProperties.Name' (type 'System.String')..
System.Windows.Data Error: BindingExpression path error: 'Active' property not found on 'New item placeholder row. Click or type to add a new row.' 'Microsoft.LightSwitch.Presentation.Framework.NewI temPlaceholderDataContext' (HashCode=7958508). BindingExpression: Path='Active' DataItem='New item placeholder row. Click or type to add a new row.' (HashCode=7958508); target element is 'System.Windows.Controls.DataGridCell' (Name=''); target property is 'AutomationProperties.Name' (type 'System.String')..
Why is this? Is it LightSwitch bug?
Thanks in advance,
Robert
Last edited by robert_d; September 5th, 2011 at 07:12 PM..
|