Telerik Forums
Reporting Forum
0 answers
161 views

Good Morning,

I am trying to generate a simple report using a CSV data source. The data source contains applicant information including their university, name, state, etc. The CSV also contains information on the stage of the application, whether it was a whitepaper or full proposal etc. When trying to generate a simple bar chart of the count of the different stages, (i.e.,  count of how many whitepapers) the field stage also contains the states on the y axis in the chart. It seems the field stage and state are being intertwined when this is not what I want. Is there any solution to this? These fields are clearly separated in the CSV and the data preview when importing the CSV.

 

Thanks

0 answers
630 views

Hi All, 
I need display Telerik report inside a razor page in the .NET framework MVC app.

I attached the design I need to build. 
Top of the razor page I'm selecting parameter values for stored procedure. Based on that values report will show the details.
I tried html5 reports and mvc reports. But those are not helped to do my requirement

If anyone is having suggestion, resources or ideas, please insert here. It would be much helpful for me

Thank you

Mail
Top achievements
Rank 1
 updated question on 24 Jan 2022
0 answers
521 views

Hllow,

We using with Rest API

In our project we use with 2 different ways with the reports:

sometimes with html5 report viewer. and other time we render the reports in the code with ReportProcessor, RenderReport.

Until now we use wit previous version of telerik reporting (from 2015)  and now we upgrade our solution to newer version,

We need to use in the reports with http.context data.

From 2018 this data is not available in report possessing, I override the GetUserIdentity function in the reportscontroller. In the reports I success to get the user data.

But when I Render the reports at code I do not now how to send to report this data(UserIdentity). Additionally,  when I try to get data from UserIdentity.Current in the report (after call render report function) I get older data of another report with proccessing from HTML5 viewer.

My questions:

1. Is there a way to use UserIdentity in ReportProcessor.RenderReport? (find attached option2-render report.PNG)

2. Why I sometimes get old value in reports which call from RenderReport function?

Thanks,Chani

Chana
Top achievements
Rank 1
 asked on 23 Jan 2022
0 answers
178 views

I need to be able to see a different MarkerType per SeriesGroup in a LineSeries on my graph. For one of the groups I want a square, for the other I want a circle. I need to be able to set this in the Standalone Designer. Unfortunately, as far as I can tell this property is not available in ConditionalFormatting anywhere nor in any Bindings but I could be overlooking it.

Is it possible to set the MarkerType to one of the built-in types for each group in a LineSeries or do I have to make wholly separate series?

Ryan
Top achievements
Rank 1
Iron
Iron
 asked on 18 Jan 2022
1 answer
374 views

I am calling a JSON Webservice that does not return a nested object if the values are null.

I am using the value of the nested object (Fields.Orders.Salesperon.Name) in a detail row of my report.

This results in an error for any rows with no salesperson: "The expression containt object 'Name' that is not defined in the current context".

Here's a sample of what's being returned from the webservice:

{
  "Orders": [
    {
      "OrderNumber": 1,
      "Salesperson: { "Name": "Joe Example" }
    },
    {
      "OrderNumber": 2,
      "Salesperson: {}
    }
}

OrderNumber 1 will print fine. The row for OrderNumber 2 will have an error box.

Screenshot from the actual report:

 

How can I prevent this? I've tried null checks, value binding, conditional formatting... but it all throws an error because it's trying to access the nonexistent "Name" field on a record.

0 answers
882 views

I have a large library of .Net 4+ reports and I want to upgrade them in such a way that they will work in a Blazor Report Viewer.

If it is a simple report with parameters, I can convert to .trdp fine and it works.  However, I have a large number of reports that are much more complex.  I am used to loading them in as an InstanceReportSource in code behind (WebForms project) and doing a variety of things to them, one big one is specifying specific data sources at runtime and then loading the report.

I am finding minimal examples on how to do anything in Blazor, but I will start with this question:  How do I change/specify a datasource for a report at runtime and then display the report in Blazor ReportViewer?

 

 

Eli
Top achievements
Rank 1
Veteran
 asked on 13 Jan 2022
1 answer
379 views
Hello,

I'm using WebReportDesigner in the React application. One of our key requirements is to use Authentication, because the users from different tenants have different storages, different settings, configuration, etc.
Since the WebReportDesigner does not support Authentication, I've used the approach described here: https://feedback.telerik.com/reporting/1486109-pass-bearer-token-authentication-with-web-report-designer-api-requests 

Everything works fine until we use the URI subreport in our report. It fails to render with the error message:
"An error has occurred while processing SubReport 'subReport1':Response status code does not indicate success: 401 (Unauthorized)."

The Report Engine most likely makes internal HTTP call to the "/reports/{reportId}" without authorization HTTP headers, cookies, etc., and that's why the HTTP call could not be authenticated.

I have also tried to override the virtual "IActionResult GetReport(string reportId)" method, but can't find any useful info about the logged-in user.

Btw: we face the very same issue in the WebViewer, which supports authentication (by passing authenticationToken - it's not forwarded when resolving the subreports).

How can we use subreports with our authorized API controllers?

Thank you!
Todor
Telerik team
 answered on 13 Jan 2022
0 answers
211 views

We have recently updated from v10 to v15 of Telerik Reporting via the Report Upgrade Wizard.  Everything is looking good for all of our report files but I did notice an issue with Conditional Formatting.  Conditional Formatting seemed to work intermittently across different reports.  I opened one of these reports in the VS 2019 Designer and changed the formatting and saved it and it started working as it had before.  When I compared the differences I noticed the precision of the drawing locations for the controls had been changed.  The Conditional Formatting was the same.

This is kind of a multipart question so I apologize in advance.

1. Is there a way to force the designer files to be regenerated across all of the report files in my solution?

2. Are there any know issues with Conditional Formatting that would not allow the following code to work?

//When we are not on page 1 show this panel.

formattingRule1.Filters.Add(new Telerik.Reporting.Filter("=PageNumber", Telerik.Reporting.FilterOperator.Equal, "=1"));    formattingRule1.Style.Visible = false;

Thanks,

Eric

Eric
Top achievements
Rank 2
 asked on 13 Jan 2022
0 answers
303 views
We are creating QR code label reports using Telerik Reporting.  The top row alligns within the label borders but drops a little on each subsequent row until the text is below the bottom border on rows 3 to 5.  How can I get the label to maintain it's top margin
Randy
Top achievements
Rank 1
 asked on 13 Jan 2022
0 answers
159 views

I have a report that has a table and a graph.  The graph needs to be contextually dependent on the user's interactivity with the table.  When the user clicks on a cell in the table, it needs to update the value of two report parameters.  This needs to cause the graph to refresh its data source, which uses those two parameters as input.

 

How can I accomplish this?  This would be fairly easy to do if I wanted to have the graph on a separate report.  Then I could set the table cells'  interactivity action to "Navigate to Report" accordingly.  But that's not what I want.  How do I simply set the table cells' interactivity action to update the relevant report parameters?

Michael
Top achievements
Rank 1
 asked on 12 Jan 2022
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?