Telerik Forums
Reporting Forum
2 answers
370 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
55 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
56 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
101 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
541 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
485 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
303 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
1 answer
123 views

When I browsed your asp.net MVC reports demos in mobile view,I could not scroll all op reports parts, only the left pane of the report appears.

 

Is there a solution to this problem?

I need to scroll all of report details.

 

I attached two images to show the deference between desktop view and mobile view.

 

Katia
Telerik team
 answered on 25 Oct 2017
4 answers
326 views
I want to sort a column group which has values in it.When I click on sorting button ,according to the highest or lowest value it has to sort and should give the result according to these values.Can you please help me out in giving a solution for it. 
Katia
Telerik team
 answered on 25 Oct 2017
0 answers
260 views

I have been struggling to create good looking Telerik reporting charts from Telerik standalone designer. One of the things required is to display the data point values on top of each column on the chart. I have tried both OutsideEnd and OutsideColumn. None of them work pretty for the highest column. One screenshot of the chart created is shown in the attachment.

I also tried to see if I could change the scale of the Y-axis so that I could get more space on top of the chart to show the value. Unfortunately it seems that I could not find anywhere to set that.

I have also had issue of Datapoint labels overlapped in stacked bar column graph, which makes a chart ugly. I saw that this issue has been reported by other people in this forum about the new graph control. Not sure if this has been fixed in the newer version.

 

Mike
Top achievements
Rank 1
 asked on 24 Oct 2017
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?