-
May 1st, 2022, 09:42 AM
#1
Thread Starter
Lively Member
No binding data in bound table in WPF
Not sure if anyone can help me with this one. I have 1 parent and 3 child tables in my WPF design, with the 3 child tables bound to the parent using drag and drop from the datasource. However, one of the tables displays no binding data. When I check its Bindingdata resources they are all present, and if I change the resource to another bound table I get all that table's appropriate bound data. I can find the names table in XAML but the table doesnt have all the descriptors that the other children have.
Not sure how to get these data back. I have tried deleting and dragging and drop, but the same behaviour recurs.
Any thoughts?
Last edited by Bear89; May 1st, 2022 at 09:04 PM.
-
May 1st, 2022, 09:06 PM
#2
Thread Starter
Lively Member
Re: No binding data in bound table in WPF
I've managed to find 2 errors in the debug, and these relate to the troublesome table and to binding:
Code:
System.Windows.Data Error: 40 : BindingExpression path error: 'Table1Acctdetails_Unpaid' property not found on 'object' ''DataRowView' (HashCode=3571397)'. BindingExpression:Path=Table1Acctdetails_Unpaid; DataItem='BindingListCollectionView' (HashCode=56999299); target element is 'CollectionViewSource' (HashCode=16127101); target property is 'Source' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'Table1Acctdetails_Unpaid' property not found on 'object' ''DataRowView' (HashCode=15961928)'. BindingExpression:Path=Table1Acctdetails_Unpaid; DataItem='BindingListCollectionView' (HashCode=56999299); target element is 'CollectionViewSource' (HashCode=16127101); target property is 'Source' (type 'Object')
But I can't see where this refers to in my code, either in my own code or the automated code?
-
May 1st, 2022, 09:22 PM
#3
Thread Starter
Lively Member
Re: No binding data in bound table in WPF
And just for completeness, here is my entire debug output - hte only other errors are the dll exceptions, which dont seem to be the key issue?:
Code:
'Goldie.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'.
'Goldie.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Esyclaims\Web services\Goldie\Goldie May2\bin\Debug\Goldie.exe'. Symbols loaded.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.Desktop.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemData\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemData.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemCore\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemCore.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll'.
Exception thrown: 'System.DllNotFoundException' in WindowsBase.dll
Exception thrown: 'System.EntryPointNotFoundException' in WindowsBase.dll
Exception thrown: 'System.EntryPointNotFoundException' in PresentationCore.dll
Exception thrown: 'System.EntryPointNotFoundException' in PresentationCore.dll
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero.dll'.
Exception thrown: 'System.EntryPointNotFoundException' in PresentationCore.dll
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\commonextensions\microsoft\xamldiagnostics\Framework\x86\Microsoft.VisualStudio.DesignTools.WpfTap.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationProvider\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationProvider.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll'.
'Goldie.exe' (CLR v4.0.30319: Goldie.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll'.
System.Windows.Data Error: 40 : BindingExpression path error: 'Table1Acctdetails_Unpaid' property not found on 'object' ''DataRowView' (HashCode=3571397)'. BindingExpression:Path=Table1Acctdetails_Unpaid; DataItem='BindingListCollectionView' (HashCode=56999299); target element is 'CollectionViewSource' (HashCode=16127101); target property is 'Source' (type 'Object')
System.Windows.Data Error: 40 : BindingExpression path error: 'Table1Acctdetails_Unpaid' property not found on 'object' ''DataRowView' (HashCode=15961928)'. BindingExpression:Path=Table1Acctdetails_Unpaid; DataItem='BindingListCollectionView' (HashCode=56999299); target element is 'CollectionViewSource' (HashCode=16127101); target property is 'Source' (type 'Object')
The thread 0x3904 has exited with code 0 (0x0).
The thread 0x4960 has exited with code 0 (0x0).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|