This is a migrated thread and some comments may be shown as answers.

RadDataForm Binding Error

4 Answers 92 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 06 May 2011, 01:56 PM
Hello ,
In our application we use RadDataForm to display some properties of an object(the data source object). Everything works fine, but when running the application we have spotted that two binding errors occurs. The binding errors occurs even if we don't set any proprieties of RadGridView. Below is the code we have tested(an empty default control):
<telerik:RadDataForm >
</telerik:RadDataForm >

The bindin errors:
System.Windows.Data Error: BindingExpression path error: 'CommitButtonVisibility' property not found on 'Client.Silverlight.ViewModels.ReferenceWorkspaceViewModel' 'Client.Silverlight.ViewModels.ReferenceWorkspaceViewModel' (HashCode=44903457). BindingExpression: Path='CommitButtonVisibility' DataItem='Client.Silverlight.ViewModels.ReferenceWorkspaceViewModel' (HashCode=44903457); target element is 'Telerik.Windows.Controls.RadButton' (Name='PART_CommitButton'); target property is 'Visibility' (type 'System.Windows.Visibility')..
System.Windows.Data Error: BindingExpression path error: 'CancelButtonVisibility' property not found on 'Client.Silverlight.ViewModels.ReferenceWorkspaceViewModel' 'Client.Silverlight.ViewModels.ReferenceWorkspaceViewModel' (HashCode=44903457). BindingExpression: Path='CancelButtonVisibility' DataItem='Client.Silverlight.ViewModels.ReferenceWorkspaceViewModel' (HashCode=44903457); target element is 'Telerik.Windows.Controls.RadButton' (Name='PART_CancelButton'); target property is 'Visibility' (type 'System.Windows.Visibility')

Please help to fix the errors.
Thank you.

4 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 10 May 2011, 09:53 AM
Hi Alexander,

Thanks for mentioning this issue. This is a known problem. Due to dynamic (late) setting of the DataContext in some elements in the visual tree of RadDataForm, it generates these exceptions.
We are going to take care of the problem as though harmless it is indeed annoying.
Meanwhile I may guarantee that this will not impact the behavior or cause any bugs while using the control.
I am going to take care for a fix to be included in one of the next LIBs.

Kind regards,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 17 May 2012, 03:14 PM
What's the status of the fix for this? I'm still seeing this bug in version 2012.1.514.
0
Valeriu
Top achievements
Rank 1
answered on 14 Jun 2012, 03:26 PM
Q2 2012, bug is still there...
0
John
Top achievements
Rank 1
answered on 14 Jun 2012, 11:25 PM
This isn't happening for me any more, using version 2012.2.607.
Tags
DataForm
Asked by
Alexander
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
John
Top achievements
Rank 1
Valeriu
Top achievements
Rank 1
Share this question
or