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

Docking Binding References

1 Answer 55 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Abhinav
Top achievements
Rank 1
Abhinav asked on 03 Apr 2017, 05:12 PM

Hi Telerik,

We have a RadDocking control in a child control that resides within a RadDocking control in a parent control.

The parent control contains a RadDocking control which encompasses a Tab control, and the child control resides in one of these Tab controls, where the RadDocking control resides in another TabControl inside the child control. The parent and child controls each have their own Views and VMs.

When binding 'SelectedItem' in myDatagrid, we receive the following binding error:

Cannot find source for binding with reference 'ElementName=myDatagrid, RelativeSource={RelativeSource=Self}'. BindingExpression:Path=SelectedItem; DataItem=null; target element is 'InvokeCommandAction' (HashCode=57688201); target property is 'CommandParameter' (type 'Object')

 

This error disappears and we are able to bind to 'SelecteItem' only when we remove the 2nd (second) RadDocking control within the parent.

Please see attached diagram for visual reference.

 

Could you please advise?

Kind regards

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 06 Apr 2017, 01:55 PM
Hello Abhinav,

I'm afraid the provided information is not enough for me to suggest a possible cause for this behavior.

May I kindly ask you to isolate the issue in a sample project and send it over so that I may further assist you?

Thank you in advance for your cooperation on the matter.

Regards,
Dilyan Traykov
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Docking
Asked by
Abhinav
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or