Telerik Forums
Reporting Forum
1 answer
142 views

Hi Support Team,

I am using Telerik reporting V4.2. In one report have used to Sub report. For I have assign different data sources programmatically. But second sub report takes values of first sub report. Please see in bellow images.

Both Report output, Data Source result for Subreport1 and Data Source result for Subreport2 please find in attachment.

Datasource assign code to main report and subreport.

    DataSet dsReportMaster = clsReports.SelectInvoiceReportMaster(intInvoiceId, clsProjectSession.CompanyAdminUserID);
 DataSet dsReportDetails = clsReports.SelectInvoiceReportDetails(intInvoiceId);
 DataSet dsReportProjectSummery = clsReports.SelectInvoiceReportDetailsProjectSummery(intInvoiceId);
 Report objReport = new Report();
 objReport = new InvoiceReport();
 objReport.DataSource = dsReportMaster;
 SubReport subReportDetails = objReport.Items.Find("subReport1", true)[0] as SubReport;
 subReportDetails.ReportSource.DataSource = dsReportDetails;
 SubReport subProjectSummery = objReport.Items.Find("subReport2", true)[0] as SubReport;
 subProjectSummery.ReportSource.DataSource = dsReportProjectSummery;

Please help me to resolve my issue.

Thanks
-Kalpesh 

 

Peter
Telerik team
 answered on 18 Feb 2011
1 answer
161 views
Here is my scenario.

I have report viewer consisting of 10 panels, each panel is responsible for dynamically loading the data from the database. A report has simple header. All the panels/tables have the same properties and settings and none of them are overlapping.

If I try to generate a report for all of this 10 tables then report generates blank pages in between with other data(data generates just fine). 

But if i take out first 4 panels and then generate a report then it doesn't have any blank pages and the report looks fine. But if i add any/all table from first 4 tables to the report , it renders blank pages. These first 4 problematic tables are very simple and and short sized.

I tried changing the position/order of the tables/panels, made sure all the panels have same properties ,but no luck.

I tried the KB article and generated report with contrasting background too, but I couldn't see anyone of them on rendered blank pages. . I toggled the KeepTogether property between true and false, that doesn't help either.

Silverlight Telerik Reports version is Q3_2010_v4_2_10_1221_dev

Is this a known issue?
Peter
Telerik team
 answered on 18 Feb 2011
8 answers
593 views
Is there a way to customize the loading image as well as the styling text of the ProcessingReportMessage on the Report Viewer?  I know most of your controls are easily customizable, but I cannot seem to find information for this particular task.

I'm hiding the entire report and I just want to show the toolbar (by setting the height = 0px).  However the loading image and text is a little too big and overbearing when accompanied with the toolbar only.

Thanks for the help as always.

Steve
Telerik team
 answered on 18 Feb 2011
4 answers
408 views
Hi everyone;

I have a problem with printing reports in landscape format in WORD document. My report is a very simple one with the following properties set:
Landscape = True
Paper kind = A4

Also I am using Telerik reporting Q1 2010 and Office 2010

however when I export the report to Word I hava noticed that the page size is A3 instead of A4. This makes my prints to go over the boundries of the page therefore missing some of the data. Anyone has any idea what the problem is? Any help would be appreciated.

Thanks;

Amir
Travis
Top achievements
Rank 1
 answered on 18 Feb 2011
2 answers
159 views
Hello,

  I have a problem with the Web Report Preview on Windows Azure.

If my application runs in Development Fabric or is deployed to the cloud, the Print Button doesn't work. If I run the same in local Webserver (Right click on WebRole and choose Debug), it works, but not in the Cloud. All I get is a progress bar in the lower left corner of the browser and then nothing.
The other switched on features are the Zoom control and the Reload button. These work perfect, but not the print button.

I use the following Tools/Versions:
  • WIndows 7 32 and 64 bit
  • Visual Studio 2008 Professional 9.0.30729.1 SP
  • Telerik Reporting Q3 2009, 3.2.9.1211
  • Azure SDK 1.1
  • Azure Tools for VS 2008 V1.1 (02.2010)
  • Browser: IE8 with or without compatibility switch turned on, FireFox 3.6

Anyone used the Report Preview Print function successful on Windows Azure yet?

Greetings
  Thomas
Richard Guo
Top achievements
Rank 1
 answered on 17 Feb 2011
2 answers
186 views
Hello,
I use a reportProcessor to generate PDF directly from a report, I'm unable to catch the exception that are thrown inside the subreports
I always get

RenderingResult res =reportProcessor.RenderReport("PDF", report, null);
bool hasError = res.HasErrors <- false

What I've been able to do till now is :

public xxx()
        {
            InitializeComponent();
            reportFactory = new ReportFactory();
            this.NeedDataSource += new EventHandler(xxx_NeedDataSource);
            this.subReport1.ReportSource.Error += new Telerik.Reporting.ErrorEventHandler(ReportSource_Error);
        }
 
        private void ReportSource_Error(object sender, Telerik.Reporting.ErrorEventArgs eventArgs)
        {
             
         //how do I propagate the error here to the reportrender?
             
        }

Thanks in advance
Paolo
Beau Button
Top achievements
Rank 1
 answered on 17 Feb 2011
1 answer
66 views
I have a database in the following form:

Date                    Green           Red          Yellow
02/15/2011         234               5248         0 
02/16/2011         24                 53             0 
02/17/2011         54                 248           0 
02/18/2011         72                 345           0 
02/19/2011         87                 36             0 

I wanted to make a PIE chart inside a Report in which  each 'slice'  represents the specified color (on the column name) and the data inside provides the size of the slice. So far I have not managed to find a way. In case this is not possible, what would be a good way to implement this chart ? 

Thanks in advance for your help



Ves
Telerik team
 answered on 17 Feb 2011
1 answer
73 views
I have a database in the following form:

Date                    Green           Red          Yellow
02/15/2011         234               5248         0 
02/16/2011         24                 53             0 
02/17/2011         54                 248           0 
02/18/2011         72                 345           0 
02/19/2011         87                 36             0 

I wanted to make a PIE chart inside a Report in which  each 'slice'  represents the specified color (on the column name) and the data inside provides the size of the slice. So far I have not managed to find a way. Can you help?

Thanks in advance


Ves
Telerik team
 answered on 17 Feb 2011
1 answer
296 views
Hi, I have a field which stores a UTF8 string. When I print it on a report, the some of the characters are not rendered correctly, in particular upper case special characters, like Ñ, É, etc. How can I define the encodign to use on the report?

Thanks,

Javier Gonzalez de Aragon
Peter
Telerik team
 answered on 17 Feb 2011
1 answer
117 views
Hi,

I am using the Q3 2010 version of reporting and am trying to implement barcodes on a report.  I have dropped the barcode control on the report and set the value equal to the value of a field in the database (=Fields.BarcodeValue).  When rendered using symbology "Code 39", checksum on or off, the value cannot be read by the reader (ZB-8150).  If I set the barcode value property equal to a set value (12345), the barcode renders correctly and can be read with no problem.  The only time I have an issue is when I try to read a value from the database.  Please Help!  This is an essential part of the project I an working on.

Steve C.
Peter
Telerik team
 answered on 17 Feb 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?