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

Tiles moving to wrong positions

1 Answer 63 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Gert
Top achievements
Rank 1
Gert asked on 04 Dec 2014, 09:58 AM
Hi.

I seem to having a small problem here and was wondering if somebody can help me. Whenever I rebind the RadTileList with the "EnableDragAndDrop" parameter set to true, the tiles move to strange places. Here's a screenshot of what happens:

https://www.dropbox.com/s/p7lf15rl16tcuia/Telerik%20RadTileList%20Problem.png?dl=0

When I investigated the HTML that gets generated I noticed that the RadTileList seems to create empty groups for the first couple of tiles and that all the tiles that are outside the current view (those that the user must scroll to see) are still grouped together correctly. Yet strangely, this error only occurs when the "EnableDragAndDrop" parameter is true. If I remove it from the markup the tiles get rendered correctly but then I obviously lose the drag-and-drop functionality which I need.

I am using Telerik Version v2014.1.403.45. Here is the HTML Markup for the RadTileList. The data is allocated via the Databind function.

 <telerik:RadTileList runat="server" ID="rtlFavourites" Width="1015px" Height="500px" SelectionMode="Single" AutoPostBack="false" OnClientTileSelected="showContxtMenu" EnableDragAndDrop="true"></telerik:RadTileList>

Any advice?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 05 Dec 2014, 11:28 AM

Hi Gert,

I do not see the data binding settings in this markup: http://www.telerik.com/help/aspnet-ajax/tilelist-databinding-basics.html. It is also important to make sure you create any proigrammatic tiles in the Page_Init event: http://www.telerik.com/help/aspnet-ajax/tilelist-server-side-programmatic-creation.html.

If those conditions are met, I would advise that you first upgrade to the latest version (I advise trying the latest internal build or wait a bit for the Q3 2014 SP1 release) as it will contain several fixes related to data binding and tile state issues.

I would advise upgrading at least to the Q2 2014 SP1 release because of this fix: http://feedback.telerik.com/Project/108/Feedback/Details/132534-fix-ids-of-data-bound-tiles-are-not-the-same-between-the-first-two-postbacks.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TileList
Asked by
Gert
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or