Telerik Forums
Reporting Forum
0 answers
79 views
I have a dataset with a datatable (that gets data from a simple sql query).
If I connect a new report using an objectdatasource to this datatable, fields are not shown in "Report Wizard" neither in "Edit Expression".
Even I preview the report I get "An Exception has been thrown by the target of an invocation".

If, however, I use SQLDatasource everythings works fine.

Any idea?
I'm using 2010 Q1

Thanks!

Jorge
Top achievements
Rank 1
 asked on 25 Jun 2010
1 answer
69 views
  Like Demo Product sales per period,  2001 Q1 and 2001 Q2 column miss beause there is no record in 2001.1-2001.6.
  If i still want to show the column, but just zero. How can i do?
Steve
Telerik team
 answered on 25 Jun 2010
7 answers
460 views
Hello all,

Just wanted to outline these (obviously wrong and idiotic on my part :)    ) steps I took, and hope for a correction from you guys:

1. I never got around to installing VS2k8 on this computer, and still had vs express.  I downloaded the trial version of telerik reporting. I ran the Telerik_Reporting_2009_2_807_trial.msi  that I downloaded from my account.
2. I realized this wouldn't run without full vs2k8, so I got the CD out and installed it, updated latest service packs, and rebooted.
3. I went into VS2k8, and noticed the 'telerik' menu tab on top, so I thought I was good. I went to the instructions on how to create a new report.
4. I clicked add new project->class library, then did not notice any such report as mentioned in the documentation (on the item templates)
5. Dejected, I searched around the forums, and found a post about someone having a similar issue, and one of the Telerik staff provided a zip of the missing files and where to install them (in the common7\ide, etc, etc folders)
6. After doing this, I noticed they are now successfully added, however am getting this error (I cut the rest of it out for brevity but it seems to be a common error where most solutions involve running gacutil /f <assemblyname). I don't seem to have any assemblies, or anything for that matter.
error: this template attempted to load an untrusted component 'Telerik.Reporting.Design, version=2.5.8.414, Culture=neutral,.."

So, shouldn't the installer have given me everything I need? Any idea why it didn't in my case? What should I do from there? I tried repairing/reinstalling obviously but no love. My guess is that the zip I took was from an older version and I need the latest or something like that (the instructions said to put the files in the visual studios 8 folder but i have 9.0 (i have 8 but nothing is in there))

Thanks so much for your help!!
Mike
Steve
Telerik team
 answered on 25 Jun 2010
1 answer
287 views
I have a table in a report that I want to alternate the colors.  I tried adding the condtional formatting to the detail but all of the data in the report was one color.   If I add the conditional formatting to each cell in the data row of the table then I get what I want.  I tried selecting all of the cells and then doing the conditional formatting once but that doesn't work.  
  Is there a way to copy the conditional formatting rule so I don't have to manually add it to each table data cell? 
Thanks,
Robert
Peter
Telerik team
 answered on 25 Jun 2010
1 answer
89 views
My apologies if this has been answered before, I am not able to find something similar to this situation.

I am trying to create a report that has 2 sections
- Section 1 - contains data about a User
- Section 2 - contains a table which has user activity ( say when the user logged on etc.)

I have a Stored Procedure that returns 2 datatables in a dataset.

My question is how do I bind this one dataset to 2 different sections?

Thanks,
SSharma
Peter
Telerik team
 answered on 25 Jun 2010
5 answers
426 views
Hello!

Maybe I'm just tired and not seeing things right, but I have a report with several Tables which may or not display data. This is defined by the filters applied to them.

I define the DataSources of the report and tables before the report is processed and the tables have filters on them to show only the data relevant to the detail record. SO, my report is organized as follows:

  • Detail Section, databound to DataTable1;
  • Table1, filtered by the ID from the detail section), databound to DataTable2;
  • Table2, filtered by the ID from the detail section), databound to DataTable3;
  • Table3, filtered by the ID from the detail section), databound to DataTable4;

All the tables are set to show the headers in every page they appear.

My question: How do I check to see if those tables are displaying data or not, so I can hide them?

Regards!
Ricardo Pinto
Top achievements
Rank 1
 answered on 25 Jun 2010
4 answers
159 views
When I display my report in the report viewer, it has several more rows than when I actually print or convert to PDF.  Is there some way I can make them the same?
David Jarrett
Top achievements
Rank 1
 answered on 24 Jun 2010
0 answers
131 views
Hi,

I worte  printing a report programmatically.this is my code
 var report = new TelerikComponentsWS.Reports.RepFeeReceipt(); 
                report.DataSource = printdata; 
                Telerik.Reporting.Drawing.ExternalStyleSheet exx = new Telerik.Reporting.Drawing.ExternalStyleSheet("~\\css\\ReprotStyleSheet.xml"); 
                report.ExternalStyleSheets.Add(exx); 
                report.ReportParameters[0].Value = strTitle; 
                Telerik.Reporting.IReportDocument reportDocument = report; 
                System.Drawing.Printing.PrinterSettings printerSettings 
                                 
                    = new System.Drawing.Printing.PrinterSettings(); 
 
                // The standard print controller comes with no UI 
                System.Drawing.Printing.PrintController standardPrintController = 
                    new System.Drawing.Printing.StandardPrintController(); 
 
                // Print the report using the custom print controller 
                Telerik.Reporting.Processing.ReportProcessor reportProcessor 
                    = new Telerik.Reporting.Processing.ReportProcessor(); 
 
                reportProcessor.PrintController = standardPrintController; 
 
                reportProcessor.PrintReport(report, printerSettings); 

It's working fine .it's printing report but it's Not working on server printing not working  .it's working only my system .How to solve this problem 
shanker bangari
Top achievements
Rank 1
 asked on 24 Jun 2010
1 answer
179 views
Hi,
I'm using Telerik Report(4.0.10.423), I found out that some of my textbox horizontally expand because of text-length, so I set TextWrap and Multiline property to True, but It doesn't work on browser, however when I export it to pdf file, It work.  

please see the attach files.

Thank you


Pat
Top achievements
Rank 1
 answered on 24 Jun 2010
2 answers
114 views
Hi,

I have a report that has three distinct subreport sections that can be turned on and off.  I did create them as subreports but then because of the positioning on the resultant report and the fact that there is no "page break before" functionality for items within the detail section I want to add them in as a report book.

I've tried adding a report book to the detail section of a report but have had no success.  The examples on the site are more about selling the product than teaching about it and the help guide doesn't really do much more than show you how to use the ReportViewer with a report book.

How do I go about solving my issue? Essentially I want to add the report book that I've setup (and it works) to the DetailSection...

Also will the help/knowledge base type stuff be sorted out anytime soon.  This is an increasing fustration of mine across the Telerik range in that a couple of years ago it seems that everything was about examples, documentation etc.  Now we are lucky to have a sniff of good relevant non sales examples on the site.  I'm sure that I'm not the only one that has noticed this trend.  Doubly worrying for me as the reason that I use Telerik and not DevExpress is that the online help was (not the past tense) better with Telerik.  I am not by the way knocking the forum based support as that's pretty good but so many times I see repeat question after repeat question which could be removed by better help guides.   Forget about focussing on selling the product and start providing the support guides - also please stop this massive move to Silverlight and provide some new useful stuff for the (I'm sure vast) majority of us that still live in the dark ages using ASP.Net and Winforms - otherwise we may start looking elsewhere...

Regards,

Jon

Jon
Top achievements
Rank 1
 answered on 23 Jun 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?