We have tiles that dynamically change size based on content. This works well with one exception: if there are tiles off screen and the scroll bars are enabled, the tiles control will scroll when one tile changes size. For our application our tiles change size vertically, so a vertical scroll occurs when the tiles change size, often scrolling to the topmost tile. It is awful when trying to add content to a tile far down, the addition cause the tile to be scrolled off screen as the vertical scroll bar returns to the top.
I figure this is because a tile size change triggers a refresh of all tiles. Is there a way to disable this?
I have attached a sample to demo the issue. Scroll to the Meats tile (so the vertical scroll bar is not at the top position) and press the button. The Tiles control will scroll to the top.
I have not tried this with v12, still on v11.2 as that is what we plan to ship with. Can you please confirm this issue does or does not occur in v12. Thanks!
Hi Olga,
We were hoping 2 other issueswere a byproduct of this resizing and scrolling, yet unfortunately they still persist. These issues have a much greater impact:
1. Scroll down such that the scroll bar is not at the top, and that one of the ListView items are partially off screen. Select the partially displayed ListView item. You'll notice the Tilescontrol scrolls up, scrolling the selected item off screen.
2. Change the TextBlock in the normalTemplate to a TextBox with AcceptsReturn=True and TextWrapping=Wrap. This will allow you to edit the Description on the tile. Select any tile and start pressing Enter until the cursor goes off the bottom of the screen. The Tilescontrol scrolls as a new line causes the cursor to go off screen, yet the scroll does not bring the line with the cursor on screen.
I have duplicated #2 with a Datagrid and a Textbox. I have duplicated both issues in 11.2.2185 and 12.1.1010.
If there is a way to communicate more directly/timely I would appreciate it as we're going to make a decision soon to abandon the Tilescontrol and go with a simpler solution.
Cheers,
Chris
Hi,
Thank you for the feedback. I am glad that your issue is resolved.
Thanks,
Olga G.
This did fix the problem. Thanks!
Hello,
I have run your demo application with the latest service relase for 11.2 (from May 23, 2012. Build number is : 11.2.20112.2185) and it seems that the tiles now do not scroll to top after we change the tile's content.
Please download the latest service relese from the Infragistics site for 11.2 and let me know if your issue is solved.
Thank you,
That may work, yet its an ugly solution as the tiles will scroll up/down. Plus I have to write a bunch of custom code to handle when my controls change size, cause most change size when the collections change they are bound to . There must be a better way.
Is this a defect or the intended behaviour?