In my application I bind the value of a textbox to properties of the selected item of a grid.
When do something like (note: grdParts is defined elsewhere and has the default SelectionUnit = FullRow)
<
TextBox
Text
=
"{Binding ElementName=grdParts, Path=SelectedItem.OrderCode}"
/>
the error list shows the error 'SelectedItem' is not accessible. But the application compiles fine and works as intended. My biggest problem is that these 'fake' errors obscure real problems.
A while ago I tackled this problem by adding the ElementName in the Path, but recently (because I updated to the newest Telerik version?) this stopped working, so I had to revert back to this way of binding.
What is wrong with this binding?