crash setting active pane

5 posts, 0 answers
  1. Henri
    Henri avatar
    77 posts
    Member since:
    Aug 2008

    Posted 21 Nov 2011 Link to this post

    Using Q3 2011, a crash occurs in a very simple docking layout (only 1 pane)

    <telerik:RadDocking x:Name="xDock" Grid.Row="1" HasDocumentHost="true">
                            <telerik:RadPane Header="Pane 1" x:Name="xPane1" telerik:RadDocking.SerializationTag="1">

    Steps to reproduce:

    1. float the pane
    2. close (hide) the pane (no more panes visible)
    3. save the layout
    4. load the layout (still no panes, which is correct)
    5. now trying to unhide and activate the pane

    if (xPane1.IsHidden)
        xPane1.IsHidden =
    xDock.ActivePane = xPane1; //CRASH HERE

    How can this be fixed?
    Thank you for your assistance,


  2. George
    George avatar
    1332 posts

    Posted 23 Nov 2011 Link to this post

    Hi Henri,

    Thank you for contacting us.

    We are aware of this problem and we are currently working on it. It will take time to make some tests to ensure that there will be no breaking changes. Most probably the fix will be included in our next internal build.

    Hope this helps.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Henri
    Henri avatar
    77 posts
    Member since:
    Aug 2008

    Posted 23 Nov 2011 Link to this post

    Thank you George for the information.
    I am looking forward to your next internal build.
    (internal build 2011.3.1122.1040 does not yet fixes this).
    Best regards,
  4. Jatin
    Jatin avatar
    1 posts
    Member since:
    Sep 2011

    Posted 05 Nov 2012 Link to this post

    Hello Telerik,

    I too have a similar problem. I am using 2012.1.326.1040 build of RadDocking and still the pane goes into not responding state.
    here is what I do:
    1. Unpin a pane that has RADMap on it.
    2. save layout
    3. close and open application..i find that my map pane is unpinned on the top.
    4. I hover my mouse over the unpinned pane and that's it...the whole docking does into not responding mode.

    further, I have some more questions
    1. what is the event that gets called when the preview of an unpinned pane happens? I tried all the events related to Preview in the RadDocking control but none gets fired at that point.
    2. can we turnoff the preview feature for a single pane or for whole docking? it is really not a good user experience when the user hovers and the pane is previewed and waits there until he clicks elsewhere!!

  5. George
    George avatar
    1332 posts

    Posted 08 Nov 2012 Link to this post

    Hello Jatin, 

    We are not aware of such issue with the RadDocking and RadMap controls. Could you share with us some more information about this scenario? For example:
    • When the layout is saved and loaded? 
    • Is there any custom code?
    • Does this happen only in this scenario or you could reproduce it using a floating and pinned panes?

    Please, note that sending us a sample code or even project could shed some light on the problem.

    Now, straight to your questions:
    1. There is such event in the RadDocking control, but it's kind of tricky to add a handler for it. I would suggest finding the AutoHideAreas and cast them to INotifyLayoutChange interface and handle the LayoutChangeStarted and LayoutChangeEnded events. Please, refer to the following forum thread where the same question is answered - There is also attached project that demonstrates this behavior. The sample is built for WPF, but the logic is the same for Silverlight as well.
    2. I am not sure I understand what do you mean by turning off the preview feature? If a mouse is over unpinned pane, the pane shows up with animation, and if the mouse leaves the pane, it goes back  (hides itself). But if a user clicks on the pane, it will stay opened as long as another pane is clicked (because the focus is still there and the pane stays shown).

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top