Telerik Forums
Reporting Forum
1 answer
100 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
458 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
177 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
138 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
195 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
129 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
0 answers
128 views
We are trying to show a hierarchical report with up to six levels of depth. However, we've been requested to allow the hierarchy to be shown in multiple pages if necessary. All this works all right, but, aditionally, we've been asqued to show the last element from the hierarchy shown in the previous page, if it is being showed in multiple pages. That's were the problem lies, since we haven't been able to figure out how to do this.

i.e.:

The hierarchy to be shown is:

Element 1
     ----- Element 1.1
          ----- Element 1.1.1
               ----- Element 1.1.1.1
               ----- Element 1.1.1.2
                    ----- Element 1.1.1.2.1
                                            <-------------------- Page break goes here
    ----- Element 1.2
          ----- Element 1.2.1
               ----- Element 1.2.1.1
     ----- Element 1.3
          ----- Element 1.3.1

Element 2
     ----- Element 2.1

    
We've been asked to remember the value of Element 1.1.1.2.1 (the value is stored in a textbox) so that when the next Page renders, before listing Element 1.2, it prints that the last shown element was Element 1.1.1.2.1

I hope someone can suggest a solution.

Thanks and best regards to everyone
Ernesto Cuevas
Top achievements
Rank 1
 asked on 23 Jun 2010
4 answers
140 views
Hi..
My reporting works fine from SL on my dev machine.. but when I deploy I get the following message. Any ideas ? thanks again.. what am I missing?

The type 'Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=4.0.10.423, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
Jon
Top achievements
Rank 1
 answered on 23 Jun 2010
4 answers
159 views
Version: Q3 2009
Visual Studio 2005 + windows 7

I have a report viewer1 in a form.  I load a report to the report viewer.  The subLoadReportHeader is just to load heading from a database. eg Report Title, etc.
Dim myReport1 As New someReport  
myReport1.oTable = oTable  
myReport1.subLoadReportHeader()  
Me.ReportViewer1.Report = myReport1  
 
 
 

In the someReport, I use NeedDataSource to bind the data.


Private Sub someReport_NeedDataSource(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.NeedDataSource  
        Me.DataSource = oTable  
End Sub 

So the report can only display with the heading but not the details.  I need to click the refresh button in the report viewer to refresh so as to display the details.

What is wrong?  Thanks.
Steve
Telerik team
 answered on 22 Jun 2010
1 answer
95 views
Assume my data looks like this:
cat 1       cat 2        value
1            1                2
1            1                3
1            2                1
1            2                2
1            2                3
1            2                4
2            1                1


I'd like my report to look something like:
cat 1: 1
    cat 2: 1
        2,3

    cat 2: 2
        1,2,3,4

cat 1: 2
    cat 2: 1
        1

The issue I'm having is trying to get the last line to work in a windows application. From what I can understand, these records would have to be on separate lines.  I'd like to append all of them for a cat1, cat2 grouping.

Can I do this with the reporting engine or will I have to do some trickery behind the scenes in my business logic?

I hope I've explained this adequately enough for you to understand my question.

Thanks!
Steve
Telerik team
 answered on 22 Jun 2010
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?