Telerik Forums
Reporting Forum
1 answer
161 views
Does Telerik have a SL5 report viewer coming soon?  You guys released the SL5 RadControls, but I am not able to upgrade my project to them because there is not a SL5 Report viewer and i use Telerik reporting in my project.

Thanks,
     Paul
Steve
Telerik team
 answered on 11 Jan 2012
1 answer
84 views
Hi,
How can I show the page number in the Report Header Section rather than the Page Header Section or footer?

Thank you

Wayne
Steve
Telerik team
 answered on 11 Jan 2012
4 answers
883 views
How can I set the default file name that will appear in the Save As... dialog that appears when the user selectes Export PDF.  The name seems to default to the report name.  I have tried changing the report.Name propetry, but this did not work.

Mike
sunil
Top achievements
Rank 1
 answered on 11 Jan 2012
3 answers
85 views
Hello,

In my silverlight application, I have two projects:
GestionJ and GestionJ.Web

In my Home.xaml page of GestionJ, I have a ReportViewer which comes from the toolbox "Telerik Reporting Q3 2011".

For the moment, in design view  it indicates "No report".

The code is:

<my:ReportViewer Name="reportViewer1" Height="220" />



In GestionJ.Web, I have had one file named "ReportService.svc" which contains only one line:

<%

 

@ServiceHost Service="Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=5.3.11.1116, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE" %>


5.3.11.1116 is the version of Telerik.Reporting.Service.dll in references of GestionJ, I hope this is correct...

In GestionJ.Web, I have added a new Item (a Telerik Report Q3 2011) named ClientsRPT.cs.

I have followed the Wizzard and if I open ClientsRPT.cs[Design] I see all needed fields, and if I click "Preview" or "Html Preview", I see the report with the right data.

My question is how can I link this report  ClientsRPT from GestionJ.Web with the ReportViewer in GestionJ ?





Steve
Telerik team
 answered on 11 Jan 2012
2 answers
202 views
Dear Telerik Team

I am setting a custom background color (e.g. R:15, G:55, B: 147) for textboxes and some table rows. This look fine when rendering the reports within Reportviewer, however, once I export them to Excel they suddenly get slightly different colors (e.g the custom colors get 0, 0, 128 in Excel)

I have tried formatting this within the Report Designer and setting the Background colors programmatically, however, they change each time.

is there a solution to this problem.

Thank you
Mark
Steve
Telerik team
 answered on 11 Jan 2012
2 answers
62 views

I have Create the report and tried to exprot programatially like below, but styles does not seem to be exproted.

TRANS_DELIVERY_REPORT

 

report = new TRANS_DELIVERY_REPORT();

 

Telerik.Reporting.Processing.

ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();

 

Telerik.Reporting.Processing.

RenderingResult result = reportProcessor.RenderReport("XLS", report, null);

 

 

 

FileStream fs = new FileStream("C:\\report1.xls", FileMode.Create);

 

fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);

fs.Flush();

fs.Close();

can any one please let me know what need to be done? thank you.

Steve
Telerik team
 answered on 11 Jan 2012
8 answers
340 views
Hi,
I have a problem in Exporting my Telerik Report to Excel, I have a color of a TextBox should change depend on a binding field, I use the 'ItemDataBound'  event to change the color of the textbox and its work correct BUT when I export my report to PDF the color appear corect the same color I assign to but when I export to Excel the color look different !!!, I use the below syntax to assign the color to the TextBox Style:

CO = (System.Drawing.

Color)ColorTranslator.FromHtml("#a17e9a");

 

 

txtEvent.Style.BackgroundColor = CO;

 

Please help me to find what is the error and why in PDF work right and in Excel not.

Thanks


Steve
Telerik team
 answered on 11 Jan 2012
21 answers
1.4K+ views
Hi all,

I installed Reporting SP1, PageCount problem is solved. But after the installation other problems occured. When I run ReportViewer every textbox gives error message "#ERROR# The expression contains object '####' that is not defined in the current context. ". But the preview of report doesn't give any error. I'm usinf Business objects for datasource. I have a business object and a List class that is filled by that business objects. I try to rebind datasource to report but the result is same. It doesn't make sense that this error is occured after installation of SP1.
Do you have any advice?

Thanks..
Cristian
Top achievements
Rank 1
 answered on 10 Jan 2012
3 answers
84 views
Hi,

I have a customer who has Adobe acrobat pro PDF Printer  ver.  9.4.7  driver installed, so he can, via the print menu ,save the report as PDF.

However the footer comes out strange in the PDF as seen in the attached jpg. To the left of the footer a date should been shown and to right a page nr.(1 in this case not 4)

Using the normal save as pdf in the wpf reportview , the pdf is fine.

How can this problem be solved ?.

Best

Ole
Steve
Telerik team
 answered on 10 Jan 2012
1 answer
126 views
Hi,

I'm using Telerik Reporting Q2 in my application. In this, I'm creating report using the following code and it works fine:


//Code that calls the report designer goes here

ReportProcessor processor =
new ReportProcessor();
RenderingResult result = processor.RenderReport("PDF", report, null);
  
string fileName = "Report" + string.Format("{0:yyyy-MM-dd_hh-mm-ss-tt}", DateTime.Now) + ".pdf";
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Disposition", "attachment; filename=" + fileName);
Response.ClearContent();
Response.OutputStream.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
Response.End();

Now, I want to add another result in the same report. For that, I did something like this:

byte[] documentBytes = new List<byte>().ToArray();
for(int i=0; i<count; i++)
{
            //Code that calls the report designer goes here
  
            ReportProcessor processor = new ReportProcessor();
            RenderingResult result = processor.RenderReport("PDF", report, null);
        
            documentBytes = documentBytes.Concat(result.DocumentBytes).ToArray();
}
  
string fileName = "Report" + string.Format("{0:yyyy-MM-dd_hh-mm-ss-tt}", DateTime.Now) + ".pdf";
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Disposition", "attachment; filename=" + fileName);
Response.ClearContent();
Response.OutputStream.Write(documentBytes, 0, documentBytes.Length);
Response.End();

But in the resulting PDF, I'm only seeing the final result (I have chart and table inside the report) from the for loop. Does this have a solution? Suppose the for loop have been traversed two times, the resulting PDF should be having chart & table for the first item followed by chart & table for the second item.

Please help asap.
Thanks
Pradeep
Top achievements
Rank 1
 answered on 10 Jan 2012
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?