RadPane Header databinding and AutoHide

5 posts, 1 answers
  1. Kakone
    Kakone avatar
    65 posts
    Member since:
    Jan 2010

    Posted 20 Apr 2010 Link to this post

    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.
  2. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 20 Apr 2010 Link to this post

    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.
  3. DevCraft banner
  4. Kakone
    Kakone avatar
    65 posts
    Member since:
    Jan 2010

    Posted 20 Apr 2010 Link to this post

    Ok, I understand. Very very thanks for your answer, the problem is now resolved.
  5. Scott
    Scott avatar
    2 posts
    Member since:
    Sep 2010

    Posted 30 Sep 2010 Link to this post

    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
  6. George
    Admin
    George avatar
    1332 posts

    Posted 05 Oct 2010 Link to this post

    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
Back to Top
DevCraft banner