Telerik Forums
Reporting Forum
1 answer
439 views
trying to install Telerik Reporting Q1 2011.

And according to the popup when I try to install Net Framework 2.0 since it came as a part of my OS.

How do I manage to install the trial?
Stian
Top achievements
Rank 1
 answered on 19 Apr 2011
1 answer
112 views
Hi,

I developed a report, if I click on the print button on the tool bar, the size of the document is quite big (as I can see from the data been transferred to the printer).

For example, a 1 page report with corsstab, if I exported as a PDF file, it is 167KB, if I directly print it by clicking the print button, it is over 2MB. It seems to me it is sending the report as an image? Even 167KB is still seem quite large for a 1 page report. The worst case is a 160 pages report, when print it by clicking on the print button, the total data size is 16.1GB...

Can someone help with explaining this? It is urgent.

Thank you in advance.

VH

VH
Top achievements
Rank 1
 answered on 19 Apr 2011
1 answer
285 views
Hello
I am working in WPF and have attempted to build a "hello world" report.  i created a simple report using the wizard - no problem.  Then i added a reportviewer to the main xaml page and gave it the name "viewer". 

The xaml is as follows:

 

 

 

<tr:ReportViewer Name="viewer"/>

 



The namepaces that the control added to the page were:

xmlns

 

 

:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

 

 

xmlns:tr="http://schemas.telerik.com/wpf" x:Class="WpfApplication2.MainWindow"

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

I am getting the error:

 


Could not load type 'Telerik.Reporting.OpenXmlRendering.Presentation.PresentationReport' from assembly
'Telerik.Reporting, Version=5.0.11.316, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'.

References added are:

Telerik.Reporting
Telerik.Reporting.OpenXmlRendering
Telerik.Reporting.Service
Telerik.ReportViewer.Wpf
Telerik.Windows.Controls
Telerik.Windows.Controls.Input
Telerik.WIndows.Controls.Navigation
Telerik.WIndows.Data

Target Framework is .Net Framework 4 (not client)
I am working with Reporting Q1 2011 and RadControls for WPF Q1 2011

The page will not load with the report viewer on it.  It crashes in the InitializeComponent() call of the page.

Of course, the page runs fine if i remove the reportviewer control.

When i search the class view for Presentation.PresentationReport there are no hits, so this file is not anywhere in the references.  What am i missing?

any ideas please?  I always do a very simple test application before moving forward.  I would really like to have this tool work, so i can avoid going back to SSRS for reporitng.

Pam



Steve
Telerik team
 answered on 18 Apr 2011
3 answers
287 views
Hi Telerik,
     I have a Silverlight Report Viewer which uses NeedDataSource to generate vaule for TextBox and bind DataSource of several tables in the report. When viewing the report in Silverlight viewer, all data have been populated correctly. However, the exported PDF (or other format) won't have value in the TextBoxes, but the data in the tables are displayed correctly.

This is how I assign values to TextBox and table's DataSource.
fullName.Value = p.FullName;
educationTable.DataSource = eduList;











The first value is assigned in the Report Viewer but not in exported PDF. The second line works fine in
both Report Viewer and exported PDF.

Do you know if I might miss anything?

Thanks,
Karlkim

Steve
Telerik team
 answered on 18 Apr 2011
4 answers
84 views
I use OA as my datasource quite a bit and thus use NeedsDataSource about 99% of the time.  So I lose all designtime access to show me the Fields Available (the OA DS doesn't always fill the need)

Could you provide some way for me to expose the fields?  Perhaps override or implement an interface somewhere in the code where the designer would get me back those field names that I manually define?

Steve
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
 answered on 18 Apr 2011
3 answers
236 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
681 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
84 views
Is there a way to unit test reports?  To make sure they all render without errors?

Steve
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
 answered on 15 Apr 2011
6 answers
592 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
524 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
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?