Telerik Forums
Reporting Forum
1 answer
211 views

I have installed the trial report. I tried with standalone report designer for a nested report. I need to filter the table data based on the parent Id of report detail section. Picture is given below.

The report dataSource is SqlDataSourceMain and Table DataSource is sqlDataSourceDetail

I do not want user input parameter for filtering. The report will be filterd based on the parent Id on the Report Detail Section.

I also need similar filter for Graph for each Site_id parent value.

 

I am looking forward to the solution asap.

Thanks

Zillur

 

 

 

 

Ivet
Telerik team
 answered on 19 Aug 2024
1 answer
226 views
I am using Telerik reporting using .NET as backend APIs and Angular for front-end report viewer.

Now I have updated the version on both side, and its working fine generally. 
But randomly I am getting this error of version mismatch while I try to generate report.

'The version of the Report Viewer '16.0.22.225' does not match the version of the Reporting REST Service '17.2.23.1114'. Please make sure both are running same version'

I know that the error statement suggests that the backend and frontend library versions don't match and must be aligned.
But the config I have updated works the majority time and successfully generates reports. But this error comes randomly.
So I am confused about how it is getting an older version of Report Viewer (16.0.22.225) even though I have updated the viewer configuration (^20.23.1010).

I have updated both side's versions below :

Server Side :

OLD:
 <PackageReference Include="Telerik.Reporting" Version="16.0.22.225" />
 <PackageReference Include="Telerik.Reporting.Services.AspNetCore" Version="16.0.22.225" />
 <PackageReference Include="Telerik.Reporting.WebServiceDataSource" Version="16.0.22.225" />

NEW:
 <PackageReference Include="Telerik.Reporting" Version="17.2.23.1114" />
 <PackageReference Include="Telerik.Reporting.Services.AspNetCore" Version="17.2.23.1114" />
 <PackageReference Include="Telerik.Reporting.WebServiceDataSource" Version="17.2.23.1114" />


Client side :

OLD:
"@progress/telerik-angular-report-viewer": "^15.22.225"

NEW:
"@progress/telerik-angular-report-viewer": "^20.23.1010"
Dimitar
Telerik team
 answered on 19 Aug 2024
1 answer
171 views

I'm working to transition rdlc reports from .net 4 to .net 6 with telerik reporting, and trying to reuse or convert as much of the old system as I can

I've got a report created in the standalone report designer with the dataset that matches the old report, and I've got the report service configured

I would like to populate my dataset through a service method based on parameters passed from a previous screen. The issue is that I cannot see a way to pass a populated data set through the front end of the HTML5 report viewer, and the documentation on the site for the Form_Load methods use a reportViewer1 variable that seems to be a Microsoft web forms reportviewer control that has no contemporary in .net core

I've looked into the NeedDataSource and ItemDataBinding events as well as using a service method to return the populated dataset as the Object Data Source, however I cannot create a service without passing parameters as the .net core dependency injection model directs, and that creates errors with the report designer attempting to dynamically generate the service

It seems like the only path forwards is to scrap the Object Data Source and try to rewrite all report logic as stored procedures. Am I missing something? Is there a way that I can pass a populated DataSet to the report to use as the data source? Is there any way I can pass a singleton service instance to return the populated dataset?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Aug 2024
16 answers
1.1K+ views
I have a multi-value parameter, @CountryID, that can also be set to null.  

I have a sql database query that uses this parameter like such:

"select * from Countries where CountryID is null or CountryID in (@CountryID)

Running the report, everything works as expected when I set the parameter value to NULL or to a single value.  However, if I set it equal to two or more values I get the following error:

An error has occurred while processing Table 'crosstab1': An expression of non-boolean type specified in a context where a condition is expected, near ','.

What am I missing?  How do I configure the parameter and/or adjust the query so that it works with NULL, single values and multiple values?

Thanks!
Jon
Top achievements
Rank 1
Iron
Iron
 updated answer on 14 Aug 2024
2 answers
117 views

Hello Telerik,

Please see the below 2 errors and 3 screenshots.   Thank you in advance for your assistance.


When I try to install Telerik.Reporting.Services.AspNetCore.Trial.18.1.24.709 I get the below errors.

 

When I try to install Telerik.UI.for.Blazor.Trial.6.1.0.nupkg  I get the below errors

 

 

This is the screenshot from the Virtual Classroom for Telerik Reporting.

Peter
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 07 Aug 2024
1 answer
196 views

Hi,

I want to pass parameters to the report so that the font size in the Style of the report can be set according to the content of the parameters. For example, if the parameter ReportFontSize=9, then the font size of the content in the Label control and Table control in the report will be 9pt. Is there a way to achieve this currently?

Dimitar
Telerik team
 answered on 07 Aug 2024
1 answer
84 views

Hi 

I wanted to setup Telerik report in on of my asp.net web from application i am getting issue in-order to setup this please help me.

0 answers
69 views

Hi , we are reading some worksheet data using  Telerik.Web.Spreadsheet and most of the time it works fine but  also few times it fails and gives us the following error messsage 

Not supported to value: /xl/worksheets/sheet1.xml'  I have 2 examples one works fine and other is not. can you please guide us why one file is failing and other is not?

 

Kind Regards

 

 

Khawar
Top achievements
Rank 1
 asked on 07 Aug 2024
1 answer
77 views

Hello, 

I am trying to get the total rows from a table in my detail section that is bound to a secondary data source, that is, not the data source of the report.

The report is bound to a header data source that contains client information, and has one row.  The table in the detail section is bound to a second data source that contains all that client's products.

I would like to put a footer textbox with the total products from the table's total rows.

 

 

Momchil
Telerik team
 answered on 05 Aug 2024
1 answer
88 views

I'm trying the query builder for the first time, trying to create a very simple query. IDItemMaster and ItemMasterID are the keys. I click on add new relationship but nothing pops up and when I click on edit on the blank relationship the relationship tab closes. 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Aug 2024
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?