Hi!
Please answer:
How to display linear objects on the map, such as roads, power lines, pipelines. In your examples, only point and polygon objects are shown. We also need to show linear objects whose geographic data are represented in WKT format in the form: LINESTRING (), not POLYGON (())
It is also interesting - whether it is possible to display all types of objects(points, lines, polygons) on the map at the same time.
I have recently started using Telerik reporting my team is using ASP.net Webforms can I have implemented the Telerik Reporting REST service as detailed here http://docs.telerik.com/reporting/telerik-reporting-rest-conception and tested the web API which returned the json file. But when using the report viewer to call a trdp file saved on my project folder I get the following error "Unable to get report parameters.Report 'BarcodesReport.trdp' cannot be resolved". Below is my code for the page, snippet of the error and API controller. Any feeback is greatly appreciated
Report.aspx.cs
public partial class Report : Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
var clientReportSource = new Telerik.ReportViewer.Html5.WebForms.ReportSource();
clientReportSource.IdentifierType = IdentifierType.UriReportSource;
clientReportSource.Identifier = "BarcodesReport.trdp";
ReportViewer1.ReportSource = clientReportSource;
}
}
}
ReportsController.cs
public class ReportsController : ReportsControllerBase
{
static ReportServiceConfiguration configurationInstance;
static ReportsController()
{
var appPath = HttpContext.Current.Server.MapPath("~/");
var reportsPath = Path.Combine(appPath, @"..\..\..\Report");
var resolver = new ReportFileResolver(reportsPath)
.AddFallbackResolver(new ReportFileResolver());
configurationInstance = new ReportServiceConfiguration
{
HostAppId = "Application1",
Storage = new FileStorage(),
ReportResolver = resolver,
// ReportSharingTimeout = 0,
// ClientSessionTimeout = 15,
};
}
public ReportsController()
{
this.ReportServiceConfiguration = configurationInstance;
}
}
I have a pretty simple bar chart and the first label on the X Axis is ALL. Where does this come from? It is not in the data.
In the attached screenshot you will also see the bars are not centered above each label, why is this?
And finally, the bars are very narrow, why is this and how can I make them wider?
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