Telerik Forums
Reporting Forum
3 answers
242 views
Hi

i am using report Q1 2011 , silverlight 4 

not sure what happens .whenever i try to use the Print button on the reportviewer , it always produces a very LARGE file on my printer for printing queue. It is around 160 MB . However if i save the report as PDF (using the Save button on the reportViewer), the file is only around 600KB -2MB. what is going on? with this, i definitely can't use the print button on the report at all  because of large file size queueing for printing 160MB


plz advise

thanks
Steve
Telerik team
 answered on 18 Apr 2011
3 answers
715 views
Forgive me for adding another "blank pages" item to the support log but I think I have a different example of when this happens from what I'm seeing.

This is in Q1 2011 that I'm seeing this.

I have a table of items which could take more than 1 page to print out.  When I have more than 1 page worth of columns and I print the report by itself, everything works nicely.  When I embed the report as a subreport in another master report, as long as it's the only subreport, it prints OK.  When I embed a second subreport on the same master report, it starts printing 1 blank page for every extra page the table prints to (i.e, if the table needs 2 pages to print, it puts 1 blank page at the end of the master report, if it needs 3 pages, there are 2 blank pages at the end of the report).

I can make each report invisible and the report draws without any blank pages but as soon as the table is visible with any other subreport, it adds blank pages.

I thought I could get around this by using the ReportBook class to just combine multiple reports together, but the blank pages then become the table sub report and which ever report is second.

I have used the suggestions for finding which subreport could be flowing onto extra pages but the only thing it tells me is the detail section for the master report (where my subreports live) is flowing onto the blank last pages.

It looks like having multiple subreports in the detail section, 1 of which could maybe flow to multiple pages, causes some problems for planning how to draw each page.

Is there any way to correct this or figure out what I might be doing to cause the reporting engine to work this way?

Thanks in advance!
Charles Rosecrans, Jr.
Top achievements
Rank 2
 answered on 16 Apr 2011
2 answers
90 views
Is there a way to unit test reports?  To make sure they all render without errors?

Steve
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 15 Apr 2011
6 answers
612 views
I need a way to display a different image on each report page in the report header.

I am generating a 2D barcode with a different 3rd party control and storing as a PNG in path on user workstation. I need to display each unique image for a given page in the header to facilitate forms processing. I need to set a PiciureBox on each report page to the unique barcode image associated with that specific page.

I am using VB.Net 2008 with Telerik Reporting Q3 2010. Telerik Reporting supports 1D barcodes, but my requirements call for using a 2D Datamatrix barcode image.
sunil
Top achievements
Rank 1
 answered on 15 Apr 2011
1 answer
535 views
I always get a nullreference exception in the report designer. I just copied the code from the InitializeComponent method and modified it to my needs.

private Table CreateTable()
       {
           Table table1 = new Table();
           table1.Name = "table1";
           //important!
           table1.RowGroups.Clear();
           table1.ColumnGroups.Clear();
           table1.Body.Columns.Clear();
           table1.Body.Rows.Clear();
 
           this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
           table1});
           table1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(15.199901580810547D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.99999994039535522D, Telerik.Reporting.Drawing.UnitType.Cm));
           table1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0, Telerik.Reporting.Drawing.UnitType.Cm));
            
           TableGroup grpPos = new TableGroup();
           TableGroup grpCount = new TableGroup();
           TableGroup grpArtName = new TableGroup();
           TableGroup grpLaufzeit = new TableGroup();
           TableGroup grpPrice = new TableGroup();
 
           table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Cm(1)));
           table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Cm(1)));
           table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Cm(1)));
           table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Cm(1)));
           table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Cm(1)));
 
 
           //CreateRows(table1);
 
           TableGroup grp = new TableGroup();
           Telerik.Reporting.TextBox txtPosValue = new Telerik.Reporting.TextBox();
           txtPosValue.Value = "=Fields.ArtikelPosition";
           txtPosValue.Name = "txtPosValue";
           txtPosValue.Size = new SizeU(Unit.Cm(1.1), Unit.Cm(0.4));
 
           table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(1, Telerik.Reporting.Drawing.UnitType.Cm)));
           table1.Body.SetCellContent(0, 0, txtPosValue);
 
 
           table1.ColumnGroups.Add(grpPos);
           table1.ColumnGroups.Add(grpCount);
           table1.ColumnGroups.Add(grpArtName);
           table1.ColumnGroups.Add(grpLaufzeit);
           table1.ColumnGroups.Add(grpPrice);
 
           Telerik.Reporting.TextBox textboxGroupPos = new Telerik.Reporting.TextBox();
           textboxGroupPos.Value = "Pos.";
           textboxGroupPos.Size = new SizeU(Unit.Cm(1.1), Unit.Cm(0.4));
           grpPos.ReportItem = textboxGroupPos;
 
           Telerik.Reporting.TextBox textboxGroupCount = new Telerik.Reporting.TextBox();
           textboxGroupCount.Value = "Menge";
           textboxGroupCount.Size = new SizeU(Unit.Cm(1.5), Unit.Cm(0.4));
           grpCount.ReportItem = textboxGroupCount;
 
           Telerik.Reporting.TextBox textboxGroupArtName = new Telerik.Reporting.TextBox();
           textboxGroupArtName.Value = "Bezeichnung";
           textboxGroupArtName.Size = new SizeU(Unit.Cm(6.5), Unit.Cm(0.4));
           grpArtName.ReportItem = textboxGroupArtName;
 
           Telerik.Reporting.TextBox textboxGroupLaufzeit = new Telerik.Reporting.TextBox();
           textboxGroupLaufzeit.Value = "Laufzeit";
           textboxGroupLaufzeit.Size = new SizeU(Unit.Cm(3.5), Unit.Cm(0.4));
           grpLaufzeit.ReportItem = textboxGroupLaufzeit;
 
           Telerik.Reporting.TextBox textboxGroupPrice = new Telerik.Reporting.TextBox();
           textboxGroupPrice.Value = "Preis / Monat";
           textboxGroupPrice.Size = new SizeU(Unit.Cm(2.4), Unit.Cm(0.4));
           grpPrice.ReportItem = textboxGroupPrice;
 
           //table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
           //textboxGroupPos,textboxGroupCount,textboxGroupArtName,textboxGroupLaufzeit,textboxGroupPrice,txtPosValue});
 
           grp.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] {
           new Telerik.Reporting.Data.Grouping("")});
 
           grp.Name = "DetailGroup";
           table1.RowGroups.Add(grp);
 
           return table1;
       }

thx 4 help
Massimiliano Bassili
Top achievements
Rank 1
 answered on 15 Apr 2011
4 answers
210 views
Hi,

I am trying to track down an error I am experiencing with large data sets being passed back to my Silverlight ReportViewer.  I can't really tell what exception I am receiving, because the message that gets displayed in the ReportViewer says to look at the InnerException, which I have no access to.

I think this may be related to my binding setup (message size, timeout, etc.).  I have already gone through the steps listed on the forum for creating a custom ClientFactory, and configured these binding properties following that documentation.  I have also configured the ReportService binding server-side to have increased timeouts and message sizes.  

In addition, I have even tried setting breakpoints in the async completed events to check the Error property (LoadPage, Render, RenderAndCache, etc.)  When my error occurs, it doesn't fire the async completed event.  

Currently, I have a WCF trace set up to see if I can hunt down the exception, but I'm having trouble interpreting the data in the trace.  Is there anything else I can be doing to trap the error in the ReportService, so I can know exactly what is going wrong?

Thanks,

Rob
Rob
Top achievements
Rank 1
 answered on 15 Apr 2011
1 answer
723 views
Dear Tech

I have an "Session Timeout" issue when the report is been generated, I attached a screen shot with this thread.

What happen is, in an asp.net application, I am trying to use Telerik Window to open another page which contains the reportviewer. May be because the report is a kind of big, so it will take about 2 mins to open it. It is working OK on my local machine, but after I upload it to server, I get this Session Timeout error message. After refresh page, nothing happens.

Because it's not a "Request Timeout" error, so this confuse me a lot, what session will be used when the report is generated? Could you give any suggestion about what settings I should check on IIS?

Because our application will redirect user to a logout page if the session is remove, so I am sure sessions created by our application are not removed. Just some session telerik report is using is cleared. So I am not sure what session does Telerik report is using.

I appreciated any help from you.

Thank.
Steve
Telerik team
 answered on 15 Apr 2011
1 answer
75 views
I have code that allows the user to select a list of reports that they would like to have see together in a ReportBook. How do I setup the viewer to create this custom ReportBook and display it? I found a sample that says to set the Report property to an instance of Telerik.Reporting.ReportBook. However, this class does not show up as available. When I try to add a reference to the Telerik.Reporting dll, I get a message that says the DLL was not built for the Silverlight runtime. I am really stuck at this point and could use some help. Can someone provide a code example that shows how to do this? Thanks.
Peter
Telerik team
 answered on 15 Apr 2011
7 answers
161 views
Hi,
How to store a previously run report results (in database or some folder) and displayed it based on date etc and edit it to add some comments on it.
Massimiliano Bassili
Top achievements
Rank 1
 answered on 15 Apr 2011
4 answers
289 views
I have a Master report with two unbound groups.  My 2nd group footer I have set to PrintOnEveryPage and have a reference number in it.  I then have two subreports in that 2nd group header and a subreport in the Detail section.  This works and the 2nd group footer prints on the bottom of every page EXCEPT the last page where it prints whenever the subreport in the detail page ends.  How can I make this footer print on the bottom of the last page?  I cannot use the Page Footer of the master report because I do not want this to print on the bottom of page 1 or 2, just on the bottom of every other page.  I also have form images as the background image of the ReportHeader, 1st Group Header, 2nd Group header and then the report itself (which shows on every detail page).  Again attempting to use the page footer messes up the page printing for the report header section.  Any help is appreciated!
Steve
Telerik team
 answered on 15 Apr 2011
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?