I have a REST services console application which seems to be running successfully, in that I followed the instructions here:
and I'm able to serve up the document formats when I use IE to browse to:
http://localhost:8080/api/reports/formats
I have a Windows Form client in which I want to use an HTML5 report viewer, hosted in a System.Windows.Forms.WebBrowser.
I used the Telerik wizard to add an HTML5 Report Viewer, which I assume added all the necessary references, and created a sample report, and the necessary report viewer in a new html file. I am setting the url of the WebBrowser to the file location of my new report viewer html file, but I keep getting the following when I load the page:
Error loading the report viewer's templates.
I edited the default javascript to use the following:
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
$("#reportViewer1")
.telerik_ReportViewer({
serviceUrl: "http://localhost:8080/api/reports",
templateUrl: "file://C:\Temp\Code\Reports\bin\Debug\ReportViewer\templates\telerikReportViewerTemplate-9.0.15.324.html",
reportSource: {
report: "file://C:\Temp\Code\Reports\bin\Debug\Reports\SampleReport.trdx",
parameters: {
Date: new Date(),
}
},
viewMode: telerikReportViewer.ViewModes.INTERACTIVE,
scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
scale: 1.0,
ready: function () {
//this.refreshReport();
},
});
});
</
script
>
Those two files exist at runtime (the template and the trdx file).
This is just proof-of-concept right now, so obviously the moving pieces are not all set. My thought is that the wizard is designed to set up a Web solution, not a Windows Forms solution, so I'm not set up correctly.
So can anyone suggest anything that might be causing that error?
Thanks,
Eric.
Hi everyone !
I currently have a main report makes navigation in another report at the click of a button.
I need to recover the ReportSource raports towards which I navige . Unfortunately my ReportSource does not change and remains one of my main report. How to solve this problem?
Best regards,
Julien ZARNIAK
Hello
I can't Detail Selection textbox field bind from database.
it's possible that Page Header or other section(footer etc..) bind from database.
please see the attach files.
I am doing a report that using PictureBox to get pictures from database.
I set the property Sizing to ScaleProportional, however some small-size picture will be enlarged to fit the container size.
Since the picture is in binary format and the pictures size are different, I can't set the exact size for the PictureBox container.
How can I keep the original size for those small-size pictures, and fit those large pictures to the container size with proportional?
Thanks
Hello Guys,
I am using Q1 2015 licensed version of Telerik Reporting. It works great for generating HTML/PDF reports.
One issue I am facing while generating HTML5 report through Report processor's render report method is sections overlapping.
In the attachments, I have provided one image which occurs when data is less and all the sections fitted properly but when the data is more then one section overlaps with another. As you can observe, this issue occurs when there is a page break so can you tell me the properties/configurations which i need to take care for this behavior. and i have used object data source binding for data so number of data may vary but i want the report sections to fit properly.
so please provide some way around to solve this.
Thanks in advance :)
Nirav
Hello Guys,
I am using Q1 2015 licensed version of Telerik Reporting. It works great for generating PDF reports but not that well when working with HTML format.
While trying to generate HTML report through Report processor's render report method then gives error if NoDataMessage is set for Graphs.
As you will be knowing that when we generate HTML report through Report processor then it gives HTML streams as an Output & we have to save images [for graphs & charts] and HTML files to disk. so while generating Graph/Chart, I want to display some message for empty data then what steps are required? (Tried with NoDataMessage property but not working so please provide some other way around or solution for same)
Thanks in advance :)
Regards,
Nirav
<
configSections
>
<
section
name
=
"Telerik.Reporting"
type
=
"Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Telerik.Reporting, Version=7.0.13.426, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
allowLocation
=
"true"
allowDefinition
=
"Everywhere"
/>
</
configSections
>
<
Telerik.Reporting
>
<
Extensions
>
<
Render
>
<
Extension
name
=
"IMAGE"
visible
=
"false"
/>
<
Extension
name
=
"MHTML"
visible
=
"false"
/>
<
Extension
name
=
"XLS"
visible
=
"true"
/>
<
Extension
name
=
"CSV"
visible
=
"true"
/>
<
Extension
name
=
"RTF"
visible
=
"false"
/>
<
Extension
name
=
"XPS"
visible
=
"false"
/>
<
Extension
name
=
"PDF"
visible
=
"true"
/>
<
Extension
name
=
"DOCX"
visible
=
"true"
/>
<
Extension
name
=
"XLSX"
visible
=
"true"
>
<
Parameters
>
<
Parameter
name
=
"DocumentAuthor"
value
=
"CGA debug"
/>
</
Parameters
>
</
Extension
>
</
Render
>
</
Extensions
>
</
Telerik.Reporting
>
<
appSettings
>
Hello,
I'm using the report design in Visual Studio 2013.
Every time that i make a change in the design tab and go to the preview tab, the result show like 1 or 2 seconds and go back automatically to the design tab, then i go again to the preview tab, and the result is displayed and stays there.
When you are modifying a large report, that take long time to load, its pretty annoying this behavior.
Thanks.
Hello
Im having problem with the cache in Q1 2015 version av Reporting.
I dont want to implement any new cache provider or adjust how the cache is performing. I want to deactivate it totaly. I dont want any cache.
What is the simplest way to solve that?
//Mathias