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

Content is lost when the panes are moved

2 Answers 46 Views
Docking
This is a migrated thread and some comments may be shown as answers.
venureddy
Top achievements
Rank 1
venureddy asked on 23 Aug 2011, 02:26 PM
Hi,
I have a page with three panes .Barchart pane ,Pie chart pane and gridview pane.When the page gets loaded first timeeverything is fine,the panes are at expected locations and the dats is also as expected.
But,when i move any pane (without docking), the content of the data is lost.For ex : the bar chart displays  "No data series".
But when i dock the pane to any side of the screen(Left,right,top,bottom) ,everything becomes fine.

Could plese help?

Thanks
Venu

2 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 26 Aug 2011, 08:13 AM
Hi Venureddy,

 The floating panes in the Docking control are not part of the Docking control visual tree so they don't inherit its DataContext. To ensure that you bound the controls to the right data you should bind pane's DataContext property to the Docking control DataContext.

Hope this helps.

Regards,
Miroslav Nedyalkov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Docking
Asked by
venureddy
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
bg
Top achievements
Rank 1
Share this question
or