RadDataForm Binding Error

5 posts, 0 answers
  1. Alexander
    Alexander avatar
    16 posts
    Member since:
    Dec 2010

    Posted 06 May 2011 Link to this post

    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.
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 10 May 2011 Link to this post

    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
  3. DevCraft banner
  4. John
    John avatar
    10 posts
    Member since:
    Aug 2011

    Posted 17 May 2012 Link to this post

    What's the status of the fix for this? I'm still seeing this bug in version 2012.1.514.
  5. Valeriu
    Valeriu avatar
    21 posts
    Member since:
    Dec 2010

    Posted 14 Jun 2012 Link to this post

    Q2 2012, bug is still there...
  6. John
    John avatar
    10 posts
    Member since:
    Aug 2011

    Posted 14 Jun 2012 Link to this post

    This isn't happening for me any more, using version 2012.2.607.
Back to Top
DevCraft banner