Telerik Forums
Reporting Forum
0 answers
107 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
280 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
708 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
295 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
152 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
212 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
111 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
0 answers
76 views

I use the report catalog example to display all the app reports, but the problem that I need to filter them according to the  subject.

is there is any way to have more than report catalog in the app.


For ex: Catalog A is for Sales would contain 3 distinct reports, B is for Billing would contain 5 reports, C is for Receivables....
Any suggestions would be appreciated.

khaled
Top achievements
Rank 1
Iron
 asked on 12 Jan 2022
0 answers
107 views

I am not sure if this is something that you guys could address, but currently when using the ReportViewer print option, if I increase the multiple copies, it still only prints one copy.

Locally, it functions as expected. Is there any change that you guys know about I need to make to have this function within a Citrix-Hosted environment?

Dylan
Top achievements
Rank 1
 asked on 11 Jan 2022
0 answers
101 views

Hi, 

I am using telerik embedded angular with standalone telerik reporting.

I am editing using the standalone telerik and then attach it to the visual studio, then display it on angular.

However,  every time I edit design in the standalone telerik, I need to reattach it to the visual studio everytime.

Can someone guide me on how to make all the edits in the standalone telerik is autoupdated into the visual studio as well as angular?

Thank you.

Azman
Top achievements
Rank 1
 asked on 11 Jan 2022
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?