I need to implement a custom report resolver that will return an instance report source as the report source.
The inherited ResolveReport method from ReportSourceResolverBase in CustomReportSourceResolver is called 3 times (with 3 requests sent: client registration, instance creation, document creation) => 3 times a ReportSource instance is created, which is undesirable, since it is necessary that it be created once when you open the ReportViewer.
Is there some way to implement this behavior?
Hey all, so I have this report which is basically to show how many staff members (count) are working inside a company on different characteristics like gender, city and education level.
For example:
------ School 1 ------ ------ School 2 ------ ------ School3 ------
Male ------ Female Male ------ Female Male ------ Female
City 1 box box box box box box
City 2 box box box box box box
City 3 box box box box box box
So as seen above, I have 3 parameters (school, gender, city) which I'm feeding my oracle sql query with, and 1 data field (count) which I get as a result of the feed.
My fast and easy approach/plan was to put the field (count) in all of the boxes and change the parameters dynamically with multivalues etc. based on the boxes column/row values to automatically populate parameters, but there are no documentation on how to do that, or can it even be done?
How can I do that, or is there any other possible approach?
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