Duplicated
Last Updated: 27 Dec 2021 17:24 by Arash
Dan
Created on: 20 Dec 2021 19:30
Category: TileLayout
Type: Bug Report
3
TileLayout broken in 2.3

Hey all, I just tried the big upgrade (VS 2020, .Net 6). During it, I moved from Telerik UI for Blazor 2.30. I've invested a lot of time into using this component and it came out as a non-starter in this release. After digging for a couple hours, I just kept it simple (see code). 

Any time you put an @ inside a TileLayoutItem, it breaks - just freezes everything. So I can't tell you where it is coming from, but I can tell you it doesn't work. To reproduce, see the following code, but basically use "@someObject" as the value of an attribute of TileLayoutItem or inside Content/HeaderTemplate.

My use case is more complicated and I'm waiting for a mid-December pre-release (see ticket 1543513), but here's a way to reproduce (I hope)

Example: 


<TelerikTileLayout Reorderable="true"
                   Resizable="true"
                   >
    <TileLayoutItems>
        @foreach (string name in Names)
        {            
            <TileLayoutItem Class="builder">
                <Content>@name</Content>
            </TileLayoutItem>
        }
    </TileLayoutItems>
</TelerikTileLayout>

@code {
	public List<string> Names { get; set; } = new List<string> { "Sara", "Dan", "Frank", "Deuce" };
}

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
2 comments
Arash
Posted on: 27 Dec 2021 17:24
We had to downgrade to 2.29 to make our dashboard work, of course after spending a lot of time to rollback new 'Dialog' all over the application!
Dan
Posted on: 20 Dec 2021 20:14
I should note, I went from 2.28 to 2.3. When I rolled back to 2.29. It worked fine.