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

Dragging TileView strange behavior.

1 Answer 64 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Clint Singer
Top achievements
Rank 1
Clint Singer asked on 03 Nov 2009, 06:25 AM
Hi,

I have noticed for the last couple beta versions of the TileView control that the dragging behavior is peculiar.  In the scenario that I have tested, I only have two tiles in the TileView control.

1) When the view is maximized, clicking and dragging on the minimized view does nothing but when the restore button is pressed, the minimized window resizes to restored size but doesn't reposition itself next to the other view.

2) When in restored mode, clicking and dragging on one of the tiles to reposition it opposite of its neighbor is a difficult and slow process.  The tile being dragged doesn't property follow the mouse.  Although if you drag it enough to cause the opposite view to switch places and then let go, it jumps to the correct location.  It just doesn't look or feel right.

Cheers,
Clint

1 Answer, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 03 Nov 2009, 09:06 AM
Hi Clint,

Thank you for your feedback. We were aware of both the issues you mentioned and here is what is changed for the Q3 release (due this week):

1. Resolved.
2. Improved - dragging of tiles is restricted to the confines of the TileView control. This is needed because the individual tiles, unlike a window, are not placed in a Popup element and if you try to drag them around your application they will remain beneath any visual element that is decalred after the TileView in your XAML code. Consequently, when the mouse pointer moves outside the TileView during dragging, the dragged tile remains within the TileView. This is the point at which it may seem the dragging is broken, since the user is still dragging but the tile is not moving. However, the tile will be moved even if the mouse pointer is outside the TileView, as long as it's not being restricted by the borders of its parent. A similar discrepancy is possible even if the mouse pointer is not leaving the TileView - while dragging, if the Tile reaches one of the borders of the TileView, the mouse will continue moving, but the Tile - not. What you will end up with is that the mouse will no longer be over the original position at which you started dragging the Tile. A side effect of this is that in the above-mentioned situation the tiles will swap positions not when the dragged Tile moves over them, but when the mouse pointer does.

I hope I was able to make things a bit clearer. Please let me know if you have any other questions.

Greetings,
Tihomir Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TileView
Asked by
Clint Singer
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Share this question
or