Telerik Forums
Reporting Forum
1 answer
81 views
Hi all.
I have for some time been worikng on a solution that needs to produce labels for chemicals.
The labels need to contain :

H: Header with name and some related info (DS1)(Works ok)
S1: Chemical information 1 (DS2) (Works ok)
S2: Chemical information 2 (DS3) (Works ok)
S3: Chemical Symbols (DS4) (fails)
F: Footer with logo and some other info (DS1)(works-but spills unto page 2)

DS1-4 is four different datasources. They have a common key; id and language.
S1-3 is created with sub-reports
The datasources for the report and the subreport are defined in a LabelsDA class as functions returning a Dataset.

I have several problems :
- The symbols subreport S3, worked, but suddenly stopped working after a Telerik Report upgrade, and im not able to fugure out why.
- Need to have S1-S3 to not overspill and force a page2. How do I keeptogheter averything inside the label-format?
- The designer fails preview and will not let me preview neither the subreports nor the complete report.

Could someone please tell me how this should be done using Telerik reporting?
A woking example would be great.

Size of labels are A5, A6, A7, A8, and Avery would be ok if templates are used.

regards
Alexander
Peter
Telerik team
 answered on 21 Apr 2010
3 answers
121 views
When i create a report with multivalue parameters and preview it, there is a <select all> created that allows me to select all items. I have created a silverlight solution using the Silverlight reportviewer and when i view the report there is no option to "Select All" records. I can individually click each record to select all but since my list contains 25+ items, that is alot of clicking. If this is not available in Silverlight out of the box, is there a way to create the <Select All> and loop through and select all records when choosing preview?

Thanks in advance. 
Steve
Telerik team
 answered on 21 Apr 2010
4 answers
411 views
i made a business object with properties to be shown on the report.
it had all well formated strings, and collections to fill subreports.
this collections are properties.
each collection is made with the same technique, string well formated properties.

the main business object is a collection too, and has just 1 object(with collection for the subreport).

subreports datasource is provided on main report detail_ItemDataBinding like:
        private void detail_ItemDataBinding(object sender, System.EventArgs e)
        {
            Processing.DetailSection section = sender as Processing.DetailSection;
            DataRowView dRow = section.DataItem as DataRowView;
            if (dRow != null)
            {
                StaffelSubReport.ReportSource.DataSource = (StaffelRptCollection)dRow["StaffelData"];
                MateriaalSubReport.ReportSource.DataSource = (MateriaalRptCollection)dRow["Artikel_Materialen"];
                BewerkingSubReport.ReportSource.DataSource = (BewerkingRptCollection)dRow["ArtikelBewerkings"];
            }
        }


all data is correctly provided( was the first thing i have checked)
the problem is in 2 places

1st ReportViewer
report viewer is showing error when rendering subreports, each field says something like
"#ERROR# The expression contains object 'OpstelUren' that is not defined in the current context." but there is a property called like this.

Then , i tryed with ReportViewer export to pdf(this is my main specification) and the report was 100% correctly, subreport was filled perfectly. So, i look in forums and found how to export directly to pdf from code behind.
i did this with Telerik.Reporting.Processing.ReportProcessor.Render method, and HAPPENED the same with the reporViewer, showing the pdf with errors on the subreport fields.

i think there is a bug when rendering because ReporViewer shows bad on first bur exporting from this control is good, and exporting directly from the codeBehind works bad like the web rendering of the reporViewer control.
Steve
Telerik team
 answered on 21 Apr 2010
1 answer
68 views
i have two filers that are working, great.  Now I just need to figure out how to load the report with all the data Inot filtered) on the reports initial load.
Steve
Telerik team
 answered on 20 Apr 2010
2 answers
95 views
Most examples for the reporting i have seen are reports that run in silverlight but retrieve their data from a database maybe based on parameters passed to the report svc from the silverlight application. I am working on a application that has a local database in the form of an XML files and images embedded in the silverlight application.
I am trying to use telerik reporting to create a report based on this local data and images. How can I get this data from the silverlight application to the report without using a sql database reference.
Amruta
Top achievements
Rank 1
 answered on 20 Apr 2010
2 answers
57 views
Just working out the issues since taking the 2010 Q1 release.

One item that preventing us from compiling our project after the 2010 Q1 update was the removal of the default constructor of the Telerik Style class?

So we had

Style ourStyle = new Style();

but that failed and we had to use
Style ourStyle = null;

Not a big deal, but why?  

I do not see anything in the release notes referring to the breaking change, and removing the existing constructor resolved what?

I want to make sure we are not missing something larger and bring attention to a breaking change.

Thanks
Tim
Svetoslav
Telerik team
 answered on 19 Apr 2010
1 answer
344 views
Does Telerik Reporting allow the ability to export to Excel and allowing the cell contents to be a formula?

Say I have a report footer that sums all of the detail... can I insert the footer fields as Excel functions and not just data?

Peter
Telerik team
 answered on 19 Apr 2010
0 answers
41 views
I am trying to add a third report to my web site. I have added the project to my solution, and then added the reference to the project. When I click on the reportviewer properties, report, I see the first two projects under the report types, but not the third. I am not able to select the report.

I have tried copying the DLL directly into the project and referencing that, but I can not get the report to show. Can someone please help me. I added the first two this exact way, but this one will not work.
Philip
Top achievements
Rank 1
 asked on 19 Apr 2010
4 answers
717 views
Hello,

I am currently working on some reports that are dynamic and change based on which company is viewing the reports.  The logo changes to the company's logo, and each company has a main color and alt color that is customizable from the database.  I'm creating these features from scratch, so I just need to know how to do it correctly.

So far, I've been able to bind the logo (picturebox) to data that is a URL of type nvarchar(255) in the database.  I can then change companies and the logo is definately changing to the company it is set to in the database.

The problem is I have two columns in the company table that define the two custom colors.  One is ReportColorMain and the other is ReportColorAlt.  Right now I have them set to data type nvarchar(25) and just put some RGB color values in them (like "0, 97, 178").  I have also tried to use color names like Crimson or DarkRed.  I bind these to either the backcolor or color attribute of the particular object in the report I want to use this color with.  Unfortunately, it is not working like the logo did.  I'm getting a report error:

An error has occured while processing TextBox '':  
Bindings error - An error occured while invocing the setter on property 'Style.Color' with value 'DarkRed' 

Do I have to use a certain datatype in my SQL Server 2005 database instead of nvarchar?  Should I use some other method of collecting this color from the database?  Help would be greatly appreciated!
Peter
Telerik team
 answered on 19 Apr 2010
1 answer
74 views
Hi..
I'm using the silverlight viewer in a childwindow... when I set the theme I get an XAMLPARSE EXCEPTION error.

Any ideas?   thanks

 

 


 

 

 

 

<telerik:ReportViewer Grid.Row="1" x:Name="ReportViewer1"

 

 

Width="800"
telerikControls:StyleManager.Theme="Summer"

 

 

 

ReportServiceUri="../ReportService.svc"

 

 

Report="{Binding SelectedItem.FullName, ElementName=AvailableReportsComboBox}"></telerik:ReportViewer>

 

Steve
Telerik team
 answered on 19 Apr 2010
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?