Hello
My .net core api project use below for MySQL database connection.
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="3.1" />
I would like to know Telerik Reporting service can work with Pomelo or not?
What providerName should I need to use for connectionString in appsettings?
When I tried, I got below error
Unable to establish a connection to the database. Please verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.
------------- InnerException -------------
Cannot load assembly by name "MySql.Data".
I have the next service in angular,
<tr-viewer
[containerStyle]="viewerContainerStyle"
[serviceUrl]="'http://localhost:21294/api/reports'"
[reportSource]="{
report: 'Product Catalog.trdp',
parameters: {}
}"
[viewMode]="'INTERACTIVE'"
[scaleMode]="'SPECIFIC'"
[scale]="1.0">
</tr-viewer>
I have my app in .NET whit my report Product Catalog.trdp,
and i have the next errors.
Hello
I'm trying to add telerik report view in my Angular project.
I would like to know how can I add Authorization Bearer token in request header of report view API call?
My Angular project use HttpInterceptor to inject Bearer token on every request to API.
Backend API is .Net core 3.1 .
Thanks
Zaw Myo Naing
Hi,
I just spent approximately 4 hours wondering why a report I was creating kept inserting pagebreaks after a row group in a crosstab even though I had set GroupKeepTogether=False. I discovered that some old parent row group that I had since deleted was still visible (but greyed out) via the report explorer even though you couldn't see it in the group explorer. This deleted parent row group had its GroupKeepTogether set to True and it was still having an effect on the report layout even though I had deleted the group long since. Why is this happening? It's quite unintuitive and confusing that deleted groups don't seem to be truly deleted and can still have effects on the report.
follow up: Is there any way for me to "clean up" the groups in the report explorer view without having to recreate the entire crosstab from scratch? There does not seem to be an option to delete them. I had some trouble creating the desired layout so I ended up creating and deleting lots of groups so it looks like a total mess and apparently can also have unintended side effects.
Hey all, I built my SQL query elsewhere and want to pass parameters to it with @param style. I inserted it in "Select Statement" window and created parameters in reporting with values, yet it doesnt map. If I do it with built-in query builder, it maps and works, simply because in next page it allows you to put the parameter location like @param will be equal to '= Parameters.slevel.Value'
But I can't use built-in query builder in this project, how can I make this work?
Thanks!
Since the connection string contains a username and password, it is encrypted in the appsettings.json file. The Startup class decrypts it and makes it available where needed through dependency injection.
Is it possible to have the reporting web viewer get the connection string programmatically? If so how would this be accomplished?
Thanks,
Tim
Hi,
I have the requirement to have a vector based picture (SVG) on the right bottom of every page of a report which is rendered as a PDF (other rendering destinations are not relevant). The picture has to be rendered exactly on the page bounds ignoring any page margins.
Is this possible?
I have tried:
<Bindings> <Binding Path="DataSource" Expression="MySQLSourceName" /></Bindings>If I create a report book with 10 pages it works fine.But if I try again with 11 ​pages, It throw exception "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
After deleting all temp files it work for 11 pages