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

DataBinding errors when docking a Pane

1 Answer 13 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Pascal GUERY
Top achievements
Rank 1
Pascal GUERY asked on 10 Jan 2014, 09:39 AM
Hi,

I am developing a WPF application in my company.
I use RadDocking controls.

A UserControl is displayed in a Pane in the DocumentHost at runtime (see attached file : 1.png).
The UserControl contains a RadGridView with a GridViewImageColumn databound to an object's property which does not exist.
So databinding errors are displayed in the Output window as expected (see attached file : 2.png).

Then I have cleared the Output window.
I have undocked the Pane (see attached file : 3.png).
No databinding errors have been displayed in the Output window as expected (see attached file : 4.png).

Then I have docked the Pane into a right SplitContainer (see attached file : 5.png).
Databinding errors have been displayed in the Output window but I do not understand why (see attached file : 6.png).

Does databinding always occur when docking a Pane ?

Thank you in advance for your help

1 Answer, 1 is accepted

Sort by
0
Accepted
Kalin
Telerik team
answered on 15 Jan 2014, 08:55 AM
Hi Pascal,

We tested the explained scenario and the binding errors were appearing on every change of the Pane state (even when undocking the Pane). This behavior is expected as on every Pane state changed it tries to load its content - for example when is docked and undocked afterwards it is removed from the visual tree and added again which is causing the content reload. However this shouldn't bother you as the framework itself handles the errors.

Hope this helps.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Docking
Asked by
Pascal GUERY
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or