Good day,
I hope you can help me as I am battling getting the report viewer that is working well in another html/javascript project.
Now converting the application to Angular (8).
This loads the report viewer fine:
<tr-viewer #viewer1
[containerStyle]="viewerContainerStyle"
[serviceUrl]="http://localhost/RepService/ReportViewer/api/reports"
[templateUrl]="'http://localhost/RepService/ReportViewer/templates/telerikReportViewerTemplate.html'"
[viewMode]="'INTERACTIVE'"
[scaleMode]="'SPECIFIC'"
[scale]="1.0"
>
</tr-viewer>
But this would need to be reconfigured when deploying, so to do that, this get's the closest:
In html file:
<tr-viewer #viewer1
[containerStyle]="viewerContainerStyle"
[serviceUrl]="serviceUrl"
[templateUrl]="'http://localhost/RepService/ReportViewer/templates/telerikReportViewerTemplate.html'"
[viewMode]="'INTERACTIVE'"
[scaleMode]="'SPECIFIC'"
[scale]="1.0"
>
</tr-viewer>
In .ts file:
ngAfterViewInit() {
this.serviceUrl = "'http://localhost/RepService/api/reports/'";
But getting the following:
The serviceUrl is not specified.
When I move that line to ngOnInit:
ngOnInit() {
this.serviceUrl = "'http://localhost/XRSReportingService/api/reports/'";
Getting: Cannot access the Reporting REST service. (serviceUrl = ''http://localhost/XRSReportingService/api/reports/''). Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)
So this doesn't look like a CORS issue to me.
Thanks very much
I have created a new report and enable the ToolTip. When the user rolls over the graph in the report. The ToolTip comes up and shows the title and the text. I want to add a second line to the text. However, I can't seem to get it to work. This is what I am doing.
I go into Visual Studio. I select the desired graph. Then Series - barSeries1 - ToolTip - Text. I select to edit the expression. I have added the following expressions and can't get the words "Encounter Count" to go on a second line. I have tried the following expressions.
{Format('Month: {{1:MMMM yyyy}} {{0}} Encounter Count', "<br />", Fields.reportMonth)}
{Format('Month: {{1:MMMM yyyy}} {{0}} Encounter Count', "\n\r", Fields.reportMonth)}
{Format('Month: {{0:MMMM yyyy}}\nEncounter Count', Fields.reportMonth)}
Nothing seems to work.
I have recently purchased a new PC and would like to download the standalone executable for 2019 R1.
How do I do this? Later releases introduced breaking changes which will no longer support my deployed reports.
When there are both ascii characters and non-ascii characters (such as Chinese) in the text box, the position of line wrapping in Docker is incorrect.And some data lost.
The code:
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
Report
Width
=
"17cm"
Name
=
"Report2"
xmlns
=
"http://schemas.telerik.com/reporting/2020/2.0"
>
<
Items
>
<
PageHeaderSection
Height
=
"2cm"
Name
=
"pageHeaderSection1"
/>
<
DetailSection
Height
=
"5cm"
Name
=
"detailSection1"
>
<
Items
>
<
TextBox
Width
=
"2.9cm"
Height
=
"1.3cm"
Left
=
"0cm"
Top
=
"0cm"
Value
=
"textbox1113333333测试测试测试123456789"
Name
=
"textBox1"
/>
</
Items
>
</
DetailSection
>
<
PageFooterSection
Height
=
"2cm"
Name
=
"pageFooterSection1"
/>
</
Items
>
<
PageSettings
PaperKind
=
"A4"
Landscape
=
"False"
>
<
Margins
>
<
MarginsU
Left
=
"2cm"
Right
=
"2cm"
Top
=
"2cm"
Bottom
=
"2cm"
/>
</
Margins
>
</
PageSettings
>
<
StyleSheet
>
<
StyleRule
>
<
Style
>
<
Padding
Left
=
"2pt"
Right
=
"2pt"
/>
</
Style
>
<
Selectors
>
<
TypeSelector
Type
=
"TextItemBase"
/>
<
TypeSelector
Type
=
"HtmlTextBox"
/>
</
Selectors
>
</
StyleRule
>
</
StyleSheet
>
</
Report
>
I was testing out the reporting tools from Telerik and I added a Telerik Report Viewer form. When I did so, it replaced one of my main user controls in my main winForm with a Telerik ReportViewer. I removed it and tried to put back my user control but now I am getting an error that says...
Failed to create component UserControl1... System.IO.FileNotFoundException…. Microsoft.Extensions.DependencyInjection.Abstrations was not found… or one of it's dependencies.
The only thing I did was add a Telerik Report Viewer winForm to my project. The wizard did kick off added a sample report and created a report folder with the sample. But nothing else. I don't understand what the Telerik template or wizard might have done to replace my user control and what happened to the DI.Abstractions reference. Does the template or wizard make changes to my references, something that might have caused a conflict?
It all seems a bit odd, like the Telerik template or wizard did something it was not supposed to. So I need to know how to get it back to where it was before. Then maybe I can start looking at Telerik Reporting options.
One thing I did notice is that whatever happened, the key is that it broke my user control. Then .NET seems to have substituted it with the Telerik Report Viewer control when I tried to view and identify the issue. SO the issue, it seems to have to do with breaking my control, not substituting the user control. I think that was .NET.
Thanks,
Jon
Hello,
i have Telerik Reporting Q2 2015 SP1 running in an ASP.NET MVC App.
There are 3 different instances of my app running on the same webserver (iis) - therefore i am using 3 different application pools.
The problem is that all 3 of those application pools are trying to use the same temp files. (eg: C:\Windows\TEMP\ProjectName\9.1.15.731\LCT\value.dat)
Only one of the application pools has the rights to access this temp file, so the ReportViewer of the other two instances is always giving me the error
"Error registering the viewer with the service. Access to the path 'C:\Windows\TEMP\ProjectName\9.1.15.731\LCT\value.dat' is denied."
How can i configure that every application can have it's own temp folder? I think it could be problematic if three apps use the same temp files, or is it possible to configure the access rights, so that every app can use the temp folder?
Thanks, Philipp
Hello,
I've got a problem with my groupHeader Section.
I search to display him while my current page isn't the first page. I know that PageNumber or PageCount are available just in PageHeader of PageFooter.
I tried to used PageCount() butit doesn't work.
I need some help please. Thanks.
Hi,
I have several tables in GroupFooterSection (several datasources). I need a standalone total field for each table. I need to do some math and display this info. My main problem is, I need a separated total field in the report. Not placed in table. Not right below the table. Not in an additional row of the table. Just a standalone field that has the total value of a table that I could use in this section in several places for math. Is it possible to do? Otherwise I have to calculate this totals on SQL side (not good).
Thanks.