Skip to content

Bug - Getting error when using Grid. #16

@BenHayat

Description

@BenHayat

Hello;
I've just installed Telerik Blazor by downloading the package from
https://www.telerik.com/download-trial-file/v2-b/ui-for-blazor.
And saved it to my desktop
Then in the nuget I had to create a new entry for telerik.com and point it to my desktop and do update first. like the following:

nuget-telerik

After that I followed setting up the project. Then in my home page, I pasted the grid example:

code

when I run the app, I get the following error:

Unhandled exception rendering component: Cannot provide a value for property 'DataSource' on type 'Telerik.Blazor.Components.Grid.TelerikGrid1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. There is no registered service of type 'Telerik.Blazor.Data.ITelerikDataSource'. System.InvalidOperationException: Cannot provide a value for property 'DataSource' on type 'Telerik.Blazor.Components.Grid.TelerikGrid1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. There is no registered service of type 'Telerik.Blazor.Data.ITelerikDataSource'.


Have I done something wrong with the install or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions