Posted 13 years ago
by Pat Maneely
-
Software Engineering Manager,
Cobham Aerospace
Version: 11.1.0545
I have a series of pages in my wizard. With the exception of the first (Welcome Page), each page has a PropertyGrid.
When I switch between the pages, I get a BindingExpression path error saying that it can't find a previous ViewModel property on the current Page.
System.Windows.Data Error: 39 : BindingExpression path error: 'FlexCommSysData' property not found on 'object' ''WizardPage' (Name='FctConfigSetupWelcomePg')'. BindingExpression:Path=FlexCommSysData.Name; DataItem='WizardPage' (Name='FctConfigSetupWelcomePg'); target element is 'TextBox' (Name=''); target property is 'Text' (type 'String')
In addition, once I enter data on the second page, and then switch back to the welcome Page, I get a whole raft of binding error of the type
Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='ActiproSoftware.Windows.Controls.PropertyGrid.TreeListViewItem', AncestorLevel='1''. BindingExpression:Path=IsExpanded; DataItem=null; target element is 'TreeListViewToggleButton' (Name=''); target property is 'IsChecked' (type 'Nullable`1')
Is this indicative of something I'm doing wrong?
When I switch between the pages, I get a BindingExpression path error saying that it can't find a previous ViewModel property on the current Page.
System.Windows.Data Error: 39 : BindingExpression path error: 'FlexCommSysData' property not found on 'object' ''WizardPage' (Name='FctConfigSetupWelcomePg')'. BindingExpression:Path=FlexCommSysData.Name; DataItem='WizardPage' (Name='FctConfigSetupWelcomePg'); target element is 'TextBox' (Name=''); target property is 'Text' (type 'String')
In addition, once I enter data on the second page, and then switch back to the welcome Page, I get a whole raft of binding error of the type
Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='ActiproSoftware.Windows.Controls.PropertyGrid.TreeListViewItem', AncestorLevel='1''. BindingExpression:Path=IsExpanded; DataItem=null; target element is 'TreeListViewToggleButton' (Name=''); target property is 'IsChecked' (type 'Nullable`1')
Is this indicative of something I'm doing wrong?