Telerik Forums
Reporting Forum
4 answers
155 views
I think this was a problem with Q1 2009 that has resurfaced.

Thanks,
-Brian
Brian Workman
Top achievements
Rank 2
 answered on 22 Mar 2010
6 answers
484 views
Hello all,

I have an issue perhaps you guys can solve, if I can explain it well enough.  I am using Telerik Reporting 2009_3_1211 for the web.  I have one report with subreports.  When generated to PDF, everything looks fine.  But in the viewer, there is an extra page at the front (page 1) that only shows the "outer" report's PageHeader.  If you navigate to page 2, you see the rest of the report.  Again, this doesn't happen when generated to PDF.  This is the general layout.

"outer" report:
    pageHeader
(an extra page is shown at the beginning with only this item)
    reportHeader (empty)
        detail - contains subreports
    pageFooter

subreport:
    
pageHeader (empty)
    reportHeader
    GroupHeader
        GroupHeader
            detail
        GroupFooter
    GroupFooter

Some notes:
- If I move the subreports to the reportHeader section, the extra page shows up at the end instead of the beginning (this one will also show in the PDF).
- I have messed with the KeepTogether flags in all sorts of combinations (in fact, the PDF was showing the extra Page 1 until I set the subReport's reportHeader's KeepTogether to false).
- No matter how big the report is, the viewer always shows only 2 pages.  Page 1 is the outer report's ReportHeader, and page 2 is everything else.
- In the html, I have the ReportViewer's Height set to 100%.
- I've checked for the following things that Steve @ Telerik mentioned in another recent post:
       - Report Width is greater than than the available page space (Page Width - Left Margin - Right Margin). 
       - There is a sub-report, which contains a report that is too wide, and while at design-time that is not obvious, at run-time it might cause the carry over to occur. 
       - There is a report item with boundaries going out to the right from its parent section.

With all that said... Any ideas?
James Strope
Top achievements
Rank 1
 answered on 22 Mar 2010
1 answer
79 views
Hi,

Is there a way to resize a group section at runtime? There are properties for items but seems to have nothing for sections.

Thanks a lot,

Ben
Peter
Telerik team
 answered on 22 Mar 2010
1 answer
616 views
hi,

How do I change report designer ruler style from cm to in or from in to cm ?

- Milind Shevade
Steve
Telerik team
 answered on 22 Mar 2010
2 answers
131 views
Hello Telerik Team!

In order to get an attractive printout, i have to change (downsize) the paragraph spacing, because the spacing is too much.
We have to printout Richtext and for this we convert rtf into html. Here we can't set the setting, because we don't know how.

Best regards and thanks for helping
Markus
Caipus
Top achievements
Rank 1
 answered on 22 Mar 2010
4 answers
294 views
I just installed the Telerik Reporting Q3 2009 tools. The installer added a tab in my toolbox called #13119. It is emtpy. There is also a tab called Telerik Reporting Q3 2009. It contains the following controls: Pointer, Barcode, Table Wizard, Barcode, Table Wizard (yes, the controls are duplicated in the tab).

I have tried reinstalling the reporting tools. Any ideas?


Thanks,
Jimmy
Jimmy Hill
Top achievements
Rank 1
 answered on 22 Mar 2010
1 answer
124 views
I'm creating a PDF in C# from an existing report that works in the designer and preview, however when trying to exported to PDF I get a simple PDF with this error message inside:
An error has occured while processing Report '':
Exception has been thrown by the target of an invocation.

The only thing in that report is an image!

Telerik.Reporting.

ReportBook masterReport = new Telerik.Reporting.ReportBook();

 

 

foreach (string sUrl in MoreUrls)

 

{

NCATReporting.

CreateReport Myreport = new NCATReporting.CreateReport();

 

 

 


// generate the image and binding it does not work?

 

 

WebClient client = new WebClient();

 

 

MemoryStream MemStream = new MemoryStream(client.DownloadData(sUrl));

 

 

Image image = Image.FromStream(MemStream);

 

 

Bitmap imageBitmap = new Bitmap(image);

 

 

Myreport.MapReport.Value = imageBitmap;

 

masterReport.Reports.Add(Myreport);

}

Telerik.Reporting.Processing.

ReportProcessor reportProcessor =

 

 

new Telerik.Reporting.Processing.ReportProcessor();

 

Telerik.Reporting.Processing.

RenderingResult resultPDF = reportProcessor.RenderReport("PDF", masterReport, null);

 

 

Steve
Telerik team
 answered on 22 Mar 2010
17 answers
356 views
I installed Rad Silverlight and Reporting Q1 2010 to VS2010RC, updated all assembly references from Q3/09 to Q1/10, and upon adding SL ReportViewer the designer now throws a XamlParseException:  "The attribute RadComboBox.SelectionBoxItemTemplate is read only and cannot be set."  Any ideas on what I could be doing wrong?

<UserControl xmlns:my="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight" x:Class="Silverlight_Report_Viewer.MainPage" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" 
    d:DesignHeight="300" d:DesignWidth="400">  
 
    <Grid x:Name="LayoutRoot" Background="White">  
        <my:ReportViewer Margin="0,0,0,0" Width="Auto" Height="Auto" Report="Reports.Report1, Reports, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" ReportServerUri="../ReportService.svc" /> 
    </Grid> 
</UserControl> 

Thanks,
-Brian
Steve Johnson
Top achievements
Rank 1
 answered on 20 Mar 2010
5 answers
237 views
Hi, iv been trying to pass a parameter to the ReportViewer report from my silverlight client. I came across this http://blogs.telerik.com/blogs/posts/09-12-07/programmatic_initialization_of_report_parameter_values_in_telerik_reporting_silverlight_viewer.aspx
but cannot get it to work. Keep getting error 'expects parameter @TenantsID which was not supplied'

I have a parameter in the report called @TenantsID which is an Integer. Below is my code(vb) to replace it.

Public Sub New(ByVal strReportName As StringByVal intReportParam As Integer
        InitializeComponent() 
 
        mstrReportName = strReportName 
        mintReportParam = intReportParam 
         
        AddHandler Me.ReportViewer1.RenderBegin, AddressOf ReportViewer1_RenderBegin 
 
    End Sub 
 
    
    Private Sub ReportViewer1_RenderBegin(ByVal sender As ObjectByVal args As Telerik.ReportViewer.Silverlight.RenderBeginEventArgs) 
         
    args.ParameterValues("@TenantsID") = "2" 
        
 
    End Sub 

Thanks
Steve
Telerik team
 answered on 19 Mar 2010
2 answers
170 views
Hi,

Currently we use Activereports for our reporting and are considering Telerik products.  What I need to know if the individual reports can be set to duplex printing.

Also can 2 reports be merged together to print at once?

Thanks,
Tim
Peter
Telerik team
 answered on 19 Mar 2010
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?