Telerik Forums
Reporting Forum
2 answers
199 views
If it is possible, I want to add a reportviewer (WinForms) dynamically at runtime from the code behind.  I have not been able to find any sample code snippets here that show how to do this in C#.  Is this even possible?

Thanks.
Dan
Eric
Top achievements
Rank 1
 answered on 12 Jan 2012
1 answer
123 views
I recently posted about x-axis scalnig and the solution was to remove this line:

this.chart1.PlotArea.XAxis.DataLabelsColumn = "ObservationDateOADate";

that worked. however, a new problem was introduced. While the data series can have multiple points, the filters may only allow one point to be show sometimes-per user request.  When that occurs, the x-axis resets and only a single vertical line appears at one of the dates. The dates are not even correct.  Attached is a sample. Please disregard the watermark in the middle of the page as it is from another process and is not impacting the chart itself.

The data point is supposed to 7/31/11, 48.13.

any ideas?
Elian
Telerik team
 answered on 12 Jan 2012
1 answer
97 views
Hi,

Is there any way to "auto-resize" report chart with respect to the amount of data in data source? I am using Telerik Reporting Q2 2011 with Silverlight 4.

Thanks!

Adil
Hadib Ahmabi
Top achievements
Rank 1
 answered on 12 Jan 2012
1 answer
186 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
103 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
954 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
102 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
259 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
85 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
410 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
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?