Telerik Forums
Reporting Forum
6 answers
646 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
573 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
232 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
763 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
81 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
181 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
305 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
3 answers
138 views
Hi I'm setting the sort order of the attached crosstab report on a non-visible column called sort order but it is not sorting in the preview.
can you tell me what else I need to do?
thanks
Jonathan
Steve
Telerik team
 answered on 15 Apr 2011
1 answer
57 views
I have a report, containing three sub reports (two reports and one just a graph) when run through the viewer the report renders as expected with two tables (sub reports 1 & 2) and a graph (sub report 3) being displayed for each page of data returned.
But when the report is exported only one page (in this case only the last) is saved to the file.
PJB
Top achievements
Rank 1
 answered on 14 Apr 2011
2 answers
495 views
I have installed latest dll for reporting which supports DOCX rendering, but I am still getting {"DOCX rendering format is not available."}
I can render same data in RTF format and save on DOCX but we want content to be rendered in docx only.
 I am using Telerik Reporting dll version 5.0.11.328

Thanks
veena
Top achievements
Rank 1
 answered on 14 Apr 2011
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?