Blazor Grid Showing Error When Using GridToolBarTemplate

1 Answer 712 Views
Grid
William
Top achievements
Rank 1
William asked on 23 Feb 2023, 03:04 PM
I was trying out a Telerik Blazor project and I am getting an error "Severity Code Description Project File Line Suppression State
Error (active) RZ9996 Unrecognized child content inside component 'TelerikGrid'. The component 'TelerikGrid' accepts child content through the following top-level items: 'GridAggregates', 'GridColumns', 'GridToolBar', 'GridExport', 'DetailTemplate', 'GridSettings', 'RowTemplate', 'NoDataTemplate'.   I didn't change anything and it gives me this error.  I am using Telerik UI for Blazor 3.6.1. Thanks.

1 Answer, 1 is accepted

Sort by
2
Justin
Telerik team
answered on 27 Feb 2023, 11:06 PM

Hello William,

Indeed, the error likely stems from breaking changes introduced in Telerik UI for Blazor v4.0.0.

In v4.0.0 the GridToolBar tag was renamed to GridToolBarTemplate. Our demos will always use the latest release for code. So, since you are using v3.6.1, you will need to remove "Template" from all instances of the "GridToolBarTemplate" tag.

I hope this helps.

Regards,
Justin
Progress Telerik

Learn about the important changes coming in UI for Blazor 4.0 in January 2023!
Tags
Grid
Asked by
William
Top achievements
Rank 1
Answers by
Justin
Telerik team
Share this question
or