RadPane styling not applying when nested outside of DocumentHost

2 posts, 0 answers
  1. Spurk
    Spurk avatar
    40 posts
    Member since:
    Feb 2012

    Posted 10 Oct 2012 Link to this post

    In the scenario we are working with, we have a grid that displays some dynamic content, and then we have our 'help' using RadPane docked to the right.

    I'm using RadDocking to host the RadSlitContainer which houses the RadPane (our help pane), but not able to get it adopt the styles I apply unless it is nested inside the DocumentHost element.

    The issue is, My scroolviewer of dynamic content only seems to work with RadDocking if it is nested in the DocumentHost element, with the RadSplitContiner outside.  Reversing these produces ill results--no resizing when the dock is pinned, etc.

    I've attached a screen grab of my heierachy...can someone point me in the right direction of how to properly set this up so that my dynamic content will dominate but then resize should the user pin the expanded dock on the right?

    Is it normal behaviour for RadPanes to ignore assigned styles when outside of DocumentHost?

  2. Vladi
    Vladi avatar
    743 posts

    Posted 16 Oct 2012 Link to this post

    Hello Sheldon,

    I am not sure I understand the exact scenario you are trying to achieve but if you want to show a ScrollViewer for the content in the RadPane you should move the ScrollViewer inside the Pane, otherwise in some scenarios the ScrollViewer will not behave as expected.

    Here is a sample code representing the described approach:
            <telerik:RadPane Header="Pane 1">
                        <TextBlock Text="textblock" Height="100"/>

    If this is not the scenario you are trying to achieve is it possible for you to open a support ticket and send us a runnable project that shows the issue you are facing.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top