Missing Information on Documentation - BlazorNative ReportingDesigner

0 Answers 79 Views
Report Designer - Web
Peter
Top achievements
Rank 1
Iron
Iron
Peter asked on 26 Jul 2023, 09:29 AM | edited on 26 Jul 2023, 09:37 AM

I tried to follow the instructions here:

https://docs.telerik.com/reporting/designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-blazor-application

"Use NuGet package manager to add the Telerik.WebReportDesigner.Services package. This will also resolve other..."

Later on we have:


...
services.TryAddSingleton<IReportServiceConfiguration>(sp => new ReportServiceConfiguration
{
    ReportingEngineConfiguration = sp.GetService<IConfiguration>(),
    HostAppId = "BlazorWebReportDesignerDemo",
    Storage = new FileStorage(),
    ReportSourceResolver = new UriReportSourceResolver(Path.Combine(sp.GetService<IWebHostEnvironment>().WebRootPath, "Reports"))
});

But some of the types are not available. E.G. FileStorage()

Which is a part of 

Assembly Telerik.Reporting, Version=17.1.23.718, Culture=neutral, PublicKeyToken=a9d7983dfcc261be

So the instruction is misleading for beginners :-) 

Which additional pakets are needed?


Btw: A link to a ready made project may helpful.

:-)

Peter
Top achievements
Rank 1
Iron
Iron
commented on 26 Jul 2023, 09:35 AM | edited

Sorry, was my fault. Or more a VS2022 hickup. After restarting VS2022 the package was found. OMG. 

BTW; Addting the "usings" in the example may help sometimes.

 

No answers yet. Maybe you can help?

Tags
Report Designer - Web
Asked by
Peter
Top achievements
Rank 1
Iron
Iron
Share this question
or