Skip to content

Commit b25b246

Browse files
docs(grid): add sample error for duplicate component name kb
1 parent 0281988 commit b25b246

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

knowledge-base/components-with-same-name.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ When creating components, make sure that you use unique names for them and their
1717
* Cryptic errors from things and Parameters that should work, such as:
1818
* for a Telerik grid: _error CS0246: The type or namespace name 'TItem' could not be found (are you missing a using directive or an assembly reference?)_
1919
* for a Telerik button _Unhandled exception rendering component: Object of type 'TestProject.Pages.TelerikButton' does not have a property matching the name 'ChildContent'._
20+
* Multiple components use the tag 'TelerikGrid'
2021

2122
These last error messages can be observed if you have a component called `TelerikGrid.razor` in your app, and you attempt to use the `<TelerikGrid>` component provided by Telerik UI for Blazor in the same app (respectively, a `TelerikButton.razor` and `<TelerikButton>` components).
2223

0 commit comments

Comments
 (0)