Telerik Forums
Reporting Forum
1 answer
316 views

Hello.

We have a winforms project that is attempting to generate DOCX files using Teleirik Reporting. We are getting a "DOCX Rendering Format is not available" error. We're on the latest version of Telerik Reporting (11.2.17.1025) and have both Telerik.Reporting.OpenXmlRendering.2.7.2 and DocumentFormat.OpenXml (2.7.2.0) included in the project and set to Copy Local. Not sure where to go from here.

Luke
Top achievements
Rank 1
 answered on 30 Oct 2017
3 answers
178 views
Hello

I use a pie chart in my report. How it is possible to get the 3D effect with Silverlight ?
Can you explain me please ?

You can see me 2D pie chart into attached file.

Thanks
Dimo
Telerik team
 answered on 27 Oct 2017
1 answer
107 views

Hi everyone,

I'm having trouble with my report about sum group (see my idea in Attach files). I read many topic but i can't done it. How can I sum in one page and move that to next page (Exp: Group is overall show in 3 page.) ? It very difficult with me and I hope someone can help me. 

Thank you!

Noah
Top achievements
Rank 1
 answered on 27 Oct 2017
2 answers
361 views

Hi,
I'm using the trial to see if it fits our purposes but I'm having trouble getting it to do what we need for this report. I've attached a screenshot of the layout.

I've attached a basic outline image of the report body.

List 1 contains an array of strings that can potentially span multiple pages but must only partially cover the page as it has a block of text below it.
List 2 also contains an array of strings that can potentially span multiple pages and runs the full length of the page.

The issue is that as List 1 expands it pushes the detail box below it on to the next page and for our needs it needs to stay exactly in this position on the page. What we want is that a new page should be created once the text / data in List 1 overflows its boundaries leaving the details box below in place.

The layout of the page is required as it is printing onto a set piece of stationary and must match the layout specifications. So we can't use a footer for the details box as List 2 needs to be the full length on the page.

I've tried everything I can think of like wrapping the left section entirely in a list and formatting the data source per page, but List 1 still pushes the fields below it on to the next page.

Is this possible? Through the designer, handling events, something else?

Thanks,
Jon.

Todor
Telerik team
 answered on 26 Oct 2017
0 answers
48 views

Hello,

I have a report that has, as datasource, a .net library from my project. I would like to inject, in any way, a instance of that library so I can preview the report correctly. Let's say that I have a Person class as datasource, with some properties: Name, Age, Gender... and in preview, I want to see how report would be shown with a Person named Mike, who's 45 years old.

Is it possible? And how? Thanks.

Eugeni
Top achievements
Rank 1
 asked on 26 Oct 2017
4 answers
44 views

After upgrading all the references to R3 2017 (11.2.17.913) for our report library and report viewer app (Silverlight), a 7 page reports has stopped printing correctly.

All of the report appears in the report viewer as 2 pages, first main page (details section), which has 6 subreports along with many other fields, and then the final page which is the report footer (has pagebreak before).

When I switch into print preview mode on the viewer, all the data is still on the report, but the PageCount is incorrect, and grows on each page...  

= "Page : " + PageNumber + " of " + PageCount

Page : 1 of 2
Page : 2 of 3
Page : 3 of 4
Page : 4 of 5
Page : 5 of 6
...

When I print the report, or save to a PDF, it only prints/saves 3 pages.  the first 2 pages from the details section, and the report footer page.  5-7 pages are missing.

On the printed report, it lists the pages as 1 of 3, 2 of 3...

Please let me know if you need more information, or if there is a better way to receive support from Telerik.

Thanks in advance for your assistance.

Katia
Telerik team
 answered on 26 Oct 2017
0 answers
91 views

Hi,

We've been receiving some complaints in regard to the report viewer printing.  If a report takes 5 minutes to load/display in the viewer - when clicking the print icon - it then takes another 5 minutes before the print options pop up as if it is working out all the data again....  I was under the impression that the cached data would be used to do the print functionality - but it is re-running the report from scratch to prepare for the printer?   Is this the case or are we doing something wrong?

 

 

Stuart
Top achievements
Rank 1
 asked on 25 Oct 2017
1 answer
529 views

Hello,

I have an object that collects data that then needs to be passed to the Report. A small example is below:

Imports Telerik.Reporting
 
Public Class Form1
    Public dataList As List(Of String)
 
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        'Fill data collection
        dataList.Add("Item 1")
        dataList.Add("Item 2")
        dataList.Add("Item 3")
 
        'Setup Telerik report
        Dim reportProcessor As New Telerik.Reporting.Processing.ReportProcessor
        Dim deviceInfo As New System.Collections.Hashtable()
 
        Dim typeReportSource As New Telerik.Reporting.TypeReportSource
        typeReportSource.TypeName = GetType(Report1).AssemblyQualifiedName
 
        Dim result As Telerik.Reporting.Processing.RenderingResult = reportProcessor.RenderReport("PDF", typeReportSource, deviceInfo)
        Dim fileName As String = "testFile" & "." & result.Extension
        Dim path As String = "C:\Projects\Telerik"
        Dim filePath As String = System.IO.Path.Combine(path, fileName)
 
        'Save Telerik report
        Using fs As New System.IO.FileStream(filePath, System.IO.FileMode.Create)
            fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length)
        End Using
 
    End Sub
End Class
 
Public Class telerikAdapter
    Public Property New dataList As List(Of String)
 
    Public Sub New()
 
    End Sub
End Class

 

In this example, I need dataList to be available in the report. I can set the DataSource to the telerikAdapter class, or any of the other classes that exist in my application. However, these classes are instantiated when Telerik runs the report, and thus have no access to data that exists elsewhere in already instantiated objects.

 

I also tried passing parameters to the report, but I can't pass a collection. I need access to several rather deep collections of data in the report.

 

There must be a way to access dataList or to pass it in when the report is run, but I can't see it.

I'm working with Windows 7 32 bit, VB.NET, and WinForms, if it makes any difference.

 

 

 

Katia
Telerik team
 answered on 25 Oct 2017
7 answers
467 views
I would like to set the Maximum and Minimum values for the DateTime axis for my graph from my datasource. 

For example i want to display from 01/01/2014  to 02/01/2014.  I currently have those two values in parameters, but how do i set the Maximum and Minimum of the scale to these paramaters?  I have tried =Parameters.Start.Value ect... (Start is my datetime parameter)

Any suggestions?
Carl
Top achievements
Rank 2
 answered on 25 Oct 2017
4 answers
287 views
 I have a report with a Map control on it. Most of the points are within a small distance of each other in one city, but there are also a few random points around the rest of the US. The map by default zooms to show all the points. Is it possible to set it to zoom to a certain level and centre on the highest value points as they are the most interesting to the user?
Ivan Hristov
Telerik team
 answered on 25 Oct 2017
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?