Completed
Last Updated: 15 Jul 2020 13:42 by ADMIN
Release 2.16.0
mtrejo30
Created on: 30 Jun 2020 23:47
Category: UI for Blazor
Type: Bug Report
3
FilterRow with DetailTemplate throws in 2.15.0

 

This error appears after update 15, in 14.1 it works correctly.

 

ADMIN EDIT:

This error occurs from the FilterMode set to FilterRow. As a workaround, until the fix is implemented, you could use the FilterMenu instead.

 

Regards

 

 

blazor.server.js:15 [2020-06-30T23:44:51.768Z] Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Telerik.Blazor.Components.Grid.GridCellBase`1.get_Column()
   at Telerik.Blazor.Components.Grid.GridCellBase`1.get_BoundColumn()
   at Telerik.Blazor.Components.Grid.GridFilterCell`1.get_BoundColumnFilterCellTemplate()
   at Telerik.Blazor.Components.Grid.GridFilterCell`1.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()

 

 

5 comments
ADMIN
Svetoslav Dimitrov
Posted on: 09 Jul 2020 07:51

Hello Uluc,

Thank you for modifying the application so that the error is reproducible. This originates from the FilterMode set to FilterRow. As a workaround you could use the FilterMenu instead. As a little thank you and token of appreciation for helping us on that matter I have updated your Telerik Points.

Regards,
Svetoslav Dimitrov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Uluç
Posted on: 09 Jul 2020 07:03

Hello Svetoslav,

 

I have attached a sample project based on your project, I have changed the model slightly to match the way I am using it.

However, after changing the model slightly the DetailTemplate was still working, but after I added some parameters (such as: sortable, reorderable, etc.) the grid starting throwing the same error again.

Hope this project I have attached is helpful. 

 

Regards.

ADMIN
Svetoslav Dimitrov
Posted on: 08 Jul 2020 10:29

Hello Uluc,

Can you send us a runnable sample project where this issue is reproducible. Locally, for me, the DetailTemplate seems to work as expected. I am reattaching the project from my previous post so you can use it as base and modify it.

Regards,
Svetoslav Dimitrov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Uluç
Posted on: 08 Jul 2020 08:05

Hello,

I can confirm that i am having the same issue with DetailTemplate after updating to 2.15.

All my Hierarchy grids stopped working.

 

Regards.

ADMIN
Svetoslav Dimitrov
Posted on: 01 Jul 2020 07:18

Hello Miguel,

As attached file you can see a demo application that references Telerik UI for Blazor 2.15.0 and has a Hierarchical Grid. If this project runs well for you locally, you could compare it against your own to see what is the difference causing the problem. If this does not help, please send us back a modified project where the issue is reproducible so we can further investigate.

Regards,
Svetoslav Dimitrov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.