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

Drag and Drop - Freeze Bug

1 Answer 77 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Jorge
Top achievements
Rank 1
Jorge asked on 09 Jun 2014, 10:37 AM
Hello,

I believe I've found a bug on TileList, when I try to drag and drop Square Tiles.

Here is the SItuation:
  • A TileList with Square Tiles, with the same amount of Lines as the max available Lines and only 1 column (which fits 2 square tiles)
  • Whenever I drag, for example, a bottom tile to the top (it's the easiest way to replicate) the page freezes and the Processor goes crazy
Here's the screenshots of "before dragging"
Before: http://i.imgur.com/oSWyi8k.png
After: http://i.imgur.com/h6IjdKe.png

And the code:
aspx:
    <telerik:RadTileList runat="server" ID="tlStartPage" Width="700px" Height="640px" TileRows="4" SelectionMode="Multiple" EnableDragAndDrop="true">
    </telerik:RadTileList>

aspx.cs:
        protected void Page_Load(object sender, EventArgs e)
        {
            PopulateTileList();
        }


        private void PopulateTileList()
        {
            tlStartPage.Groups.Add(new TileGroup());
            tlStartPage.Groups[0].Tiles.Add(new RadTextTile() { Text = "1", BackColor = ColorTranslator.FromHtml("#e83737") });
            tlStartPage.Groups[0].Tiles.Add(new RadTextTile() { Text = "2", BackColor = ColorTranslator.FromHtml("#008de7") });
            tlStartPage.Groups[0].Tiles.Add(new RadTextTile() { Text = "3", BackColor = ColorTranslator.FromHtml("#51ab2e") });
            tlStartPage.Groups[0].Tiles.Add(new RadTextTile() { Text = "4", BackColor = ColorTranslator.FromHtml("#f5c020") });
            tlStartPage.Groups[0].Tiles.Add(new RadTextTile() { Text = "5", BackColor = ColorTranslator.FromHtml("#9b58b5") });
            tlStartPage.Groups[0].Tiles.Add(new RadTextTile() { Text = "6", BackColor = ColorTranslator.FromHtml("#91c930") });
            tlStartPage.Groups[0].Tiles.Add(new RadTextTile() { Text = "7", BackColor = ColorTranslator.FromHtml("#bb2525") });
        }

___________________________________

I was able to reproduce this behaviour on two different machines, using both my own code and code from the Telerik Demos (this one was based on this demo).

Can anyone else confirm this or am I just doing something wrong?
Thank you in advance

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 10 Jun 2014, 09:30 AM

Hello Jorge,

This is, indeed a bug in the TileList. It seems like an infinite loop at this point. I am logging it for research and we will do our best to get it fixed as soon as possible: http://feedback.telerik.com/Project/108/Feedback/Details/130509. If a fix does not make it in the upcoming Q2 2014 release, it will be included in the Q2 2014 SP1 release. I have also updated your Telerik points as a small token of gratitude for your report.


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
Jorge
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or