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

RadPane Header databinding and AutoHide

4 Answers 178 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Kakone
Top achievements
Rank 1
Kakone asked on 20 Apr 2010, 10:52 AM
Hello,

I think there is a little bug : when I databind my RadPane header and I want to autohide this pane, the header become empty (cf attached file).
If the header is set to a constant value, there is no problem.

<telerikDocking:RadDocking> 
  <telerikDocking:RadSplitContainer InitialPosition="DockedLeft"
    <telerikDocking:RadPaneGroup DataContext="{Binding Menu}"
      <telerikDocking:RadPane Header="{Binding SelectedBusinessModuleName}" CanFloat="False" CanUserClose="False" CanDockInDocumentHost="False"
      </telerikDocking:RadPane> 
    </telerikDocking:RadPaneGroup> 
  </telerikDocking:RadSplitContainer> 
  <telerikDocking:RadDocking.DocumentHost> 
  </telerikDocking:RadDocking.DocumentHost> 
</telerikDocking:RadDocking> 

Cordially,
Stephane.

4 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 20 Apr 2010, 04:06 PM
Hello Stéphane,

 The DataContext property is inherited using the VisualTree in Silverlight so when the Pane is moved out of the group (moved to the AutoHideArea) it looses the value of the DataContext it inherits from the PaneGroup.

Hope this information is helpful.

Best wishes,
Miroslav Nedyalkov
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
Kakone
Top achievements
Rank 1
answered on 20 Apr 2010, 04:16 PM
Ok, I understand. Very very thanks for your answer, the problem is now resolved.
0
Scott
Top achievements
Rank 1
answered on 30 Sep 2010, 10:28 AM
Hi Miroslav,

Could you confirm the same behaviour (the data context is reset) applies to RadPane(s) as they are set to floating and then back to docked ? Is there any work around or way to stop this ?

Therefore if you want to use data binding in your RadPane(s) they cannot be floated or hidden ?

Thanks,
Scott
0
George
Telerik team
answered on 05 Oct 2010, 01:27 PM
Hello Scott,

This bug is fixed in our Q2 Service Pack 2 release. Please download it and let me know if you still have any issues with the RadDocking control. 

Sincerely yours,
George
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
Tags
Docking
Asked by
Kakone
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Kakone
Top achievements
Rank 1
Scott
Top achievements
Rank 1
George
Telerik team
Share this question
or