Hi all,
I have a problem with reporting, when I export to any(like excel, PDF,CSV,etc.), it will be 2 pages, and if there is a chart, it will be print 2 times of this chart. I don't konw why? If you have any ideas, Please let me know.
Additionally, I have advanced a problem a.m. Please help with it. It also about chart, when export to excel, the chart does not display. I have no idea about this.
Thanks ,
BestRegards,
Rain
I have a problem with reporting, when I export to any(like excel, PDF,CSV,etc.), it will be 2 pages, and if there is a chart, it will be print 2 times of this chart. I don't konw why? If you have any ideas, Please let me know.
Additionally, I have advanced a problem a.m. Please help with it. It also about chart, when export to excel, the chart does not display. I have no idea about this.
Thanks ,
BestRegards,
Rain
4 Answers, 1 is accepted
0
Hi Rain,
Thank you for contacting Telerik Support.
In order to help you we will need some more information about the problem. Please send us the relevant code or a sample application which can reproduce the issue so that we can investigate it. At this moment we are not aware of such problems so it is highly possible that the problem is the specifics of your code.
Thank you in advance.
Regards,
Chavdar
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Thank you for contacting Telerik Support.
In order to help you we will need some more information about the problem. Please send us the relevant code or a sample application which can reproduce the issue so that we can investigate it. At this moment we are not aware of such problems so it is highly possible that the problem is the specifics of your code.
Thank you in advance.
Regards,
Chavdar
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0

Rain
Top achievements
Rank 1
answered on 24 Mar 2009, 02:02 AM
Hi Chavdar,
Thanks for your reply.
In aspx code, I use code as follows:
And there is no code in aspx.cs code. In report engine, I quote a stored procedure and I get a cross the chart need
There is no problem with report data, just not display the chart when export to excel. and when export to PDF,CSV... (except excel). It will be print 2 times of this chart.
If you have any ideas, please let me know.
Thanks,
BestRegards,
Rain
Thanks for your reply.
In aspx code, I use code as follows:
<telerik:ReportViewer ID="rptConversionEffectiveness" runat="server" Font-Names="Verdana" |
Font-Size="8pt" BorderStyle="Solid" BorderWidth="1px" SizeToReportContent="True" |
Width="100%" Height="700px" Visible="True" Skin="Office2007"> |
</telerik:ReportViewer> |
DataSource, the code as follows:
private void chart1_NeedDataSource(object sender, EventArgs e) |
{ |
if (this.ProCasesBaselinePdDataTextBox.Value != "textBox14") |
{ |
this.chart1.Series[0].Items[0].YValue = Convert.ToDouble(this.ProCasesBaselinePdDataTextBox.Value.ToString()); |
} |
if (this.ProCasesIncrementPdDataTextBox.Value != "textBox12") |
{ |
this.chart1.Series[0].Items[1].YValue = Convert.ToDouble(this.ProCasesIncrementPdDataTextBox.Value.ToString()); |
} |
this.chart1.ChartTitle.TextBlock.Text = this.ProductGrowthinDataTextBox.Value + "Growth"; |
} |
There is no problem with report data, just not display the chart when export to excel. and when export to PDF,CSV... (except excel). It will be print 2 times of this chart.
If you have any ideas, please let me know.
Thanks,
BestRegards,
Rain
0
Hello Rain,
The information you have provided is not enough to find the problem. The code snippets are pretty standard and you are not doing anything special in the NeedDataSource event of the chart so these cannot be the reasons. In order to help you further please open a support ticket and send us the report definition and the exported documents if possible. A runnable application that reproduces the problem will be highly appreciated.
Regards,
Chavdar
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
The information you have provided is not enough to find the problem. The code snippets are pretty standard and you are not doing anything special in the NeedDataSource event of the chart so these cannot be the reasons. In order to help you further please open a support ticket and send us the report definition and the exported documents if possible. A runnable application that reproduces the problem will be highly appreciated.
Regards,
Chavdar
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0

Rain
Top achievements
Rank 1
answered on 25 Mar 2009, 03:56 AM
Hi Chavdar,
I have solved it by myself, indeed, the cause is just that I placed the chart in page group. and now I place it in footer section group, it's OK.
Thank you all the same,
Best Regards
Rain
I have solved it by myself, indeed, the cause is just that I placed the chart in page group. and now I place it in footer section group, it's OK.
Thank you all the same,
Best Regards
Rain