Last Updated: 03 Aug 2016 12:52 by ADMIN
Created on: 04 May 2016 11:05
Category: Docking
Type: Bug Report
Docking: On some rare cases, on Deferred drag mode, DragDropManager.AllowDrag is not set to true
On some rare cases, RadPane.OnPaneLoaded is being called before ApplyTemplate was called, and therefore, UpdateAllowDrag which tries to find the first child of the rad pane (the "wrapper" grid) fails, and pane remains undraggable.

To reproduce this issue, I have a button that when clicking on it, it adds a new pane (There is a collection of View Models, that when items are added or removed, then a code that is using binding to that collection adds or removes a pane.

The scenario happens when the system is laggy (For example, heavy UI on the panes content), and I'm adding several view models to that collection.
It doesn't always happen, but sometimes, one of more of the panes are not draggable.
I can clearly see that the OnPaneLoaded was called before the OnApplyTemplate was.

Maybe it can be a good idea to call UpdateAllowDrag on the OnApplyTemplate function if the OnLoad was called first.

Posted on: 13 Jul 2016 06:23
Hi Benn,

Thank you for the provided additional information. The status of the item has been changed to Approved. Follow it if you haven't done that yet, so as soon as its status gets changed again you will be notified.

Posted on: 13 Jul 2016 05:58
Is it so hard to believe that UpdateAllowDrag might be called before OnApplyTemplate was called?


Have fun.
Posted on: 12 Jul 2016 10:58
Due to insufficient information regarding this issue, I am setting its Status to Declined. As soon as we have more details regarding it, we will consider changing its state.
Posted on: 10 May 2016 10:08
Hi Benn, 

We were not able to reproduce the observed by you issue. Could you please, send us a sample project that reproduces in order to confirm it and approve this item?

We are looking forward to hearing from you.