Telerik Forums
Reporting Forum
4 answers
439 views

I have a REST services console application which seems to be running successfully, in that I followed the instructions here: 

http://www.telerik.com/help/reporting/telerik-reporting-rest-host-http-service-using-self-hosting.html

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.

Stef
Telerik team
 answered on 01 Jun 2015
4 answers
216 views

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

Julien
Top achievements
Rank 1
 answered on 01 Jun 2015
1 answer
963 views
I have one group header section and detail section like this :



    Name1 Name2 Name3 Name4 Name5// Group Header Section
    
    GroupBy // Group Header Section
    
     a      2    3     2       9 -|
     a      4    3     3       4 -|    // Detail Section
     a      6    2     4       3 -|
     a      7    1     5       3 -|

These four rows is being produced by GroupBy criteria. So far it is working. 
Now I want to make one row of these four rows as Name1 is identical and other columns will be average like in Name2 average would be like `2+4+6+7/4` and same for other columns and one row will look like 

`a 4.75 2.25 3.5 4.75 `
Nasko
Telerik team
 answered on 29 May 2015
1 answer
159 views

 

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.

Nasko
Telerik team
 answered on 29 May 2015
1 answer
134 views

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

Nasko
Telerik team
 answered on 29 May 2015
1 answer
106 views

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

Nasko
Telerik team
 answered on 28 May 2015
5 answers
372 views

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

Nasko
Telerik team
 answered on 28 May 2015
8 answers
1.1K+ views
I am running the latest version of Telerik Reporting using the Control Panel app.  (Version=7.0.13.426)

This is a VS 2012 VB website, and I have verified the presence of the OpenXMLRendering.dll in the BIN directory.

When viewing a report my export options do not include DOCX or XLSX.

I have checked my web.config file and it appears to have the proper entries.

My export options in the Report Viewer control match the intended selection, XLS, CSV and PDF, but do NOT include DOCX or XLSX.
 
<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>


Saroj Kumar
Top achievements
Rank 1
 answered on 28 May 2015
1 answer
67 views

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.

Nasko
Telerik team
 answered on 27 May 2015
1 answer
164 views

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

Nasko
Telerik team
 answered on 27 May 2015
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?