Hi. We wont to use telerik reports with silverlight, and It’s looks like we must to use WCF Services. Problem is this, that we couldn’t use IIS, but need to use Tomcat. And we encountering problem with hosting WCF on Tomcat. So, i have question, how to overcome this problem?
May be someone knows how to host it at tomcat / without ISS?
Or how to use some other simple service, not WCF?
Dear All,
I have two problems with telerik reporting, could anyone give me some helps?
1.How to hide the row(s) in a table(each rows have more than 1 columns)
2.How to custom the export method for exporting the data to Excel/PDF file.
Hello,
I just need to know if Telerik Reporting permits me to mark a piece of the report I create for reading the content after the pdf has been created...
I put some customer detail into a report, I need to scan the generated file later and then to read the content and write it to xml...
Thanks
I'm having chart in detail section. I need to bind the chart based on the item value of the report. I directly bind the chart in the detail_ItemDataBound without NeedDataSource event for the chart. I didn't get the chart. Then i try adding NeedDataSource event for the chart. But this gets executed before detail_ItemDataBound. Again I didn't get the chart. Then i tried detail_ItemDataBinding event to get value. Later i use the function for binding chart which i call in detail_ItemDataBound or in detail_ItemDataBinding. Still i didn't get the chart. All i get is there is no or empty series.
How can i bind the chart which is in detail section?
Here is the code which i use the bind the chart. Assume dt is DataTable holding data.
if (dt.Rows.Count > 0)
{
for (int i = 0; i < dt.Rows.Count; i++)
total += Convert.ToInt32(dt.Rows[i]["Cnt"]);
Telerik.Reporting.Processing.Chart chtCur = sender as Telerik.Reporting.Processing.Chart;
this.chtCur.Series.Clear();
this.chtCur.ChartTitle.TextBlock.Text = "Factors";
for (int i = 0; i < dt.Rows.Count; i++)
{
Telerik.Reporting.Charting.ChartSeries chartseries = new Telerik.Reporting.Charting.ChartSeries();
Telerik.Reporting.Charting.ChartSeriesItem item = new Telerik.Reporting.Charting.ChartSeriesItem();
item.Label.TextBlock.Text = dt.Rows[i]["Val"].ToString() + "\n" + (Convert.ToInt32(dt.Rows[i]["Cnt"]) / total * 100).ToString() + "%";
item.Name = dt.Rows[i]["Val"].ToString();
item.YValue = Convert.ToInt32(dt.Rows[i]["Cnt"]) / total * 100;
chartseries.Type = Telerik.Reporting.Charting.ChartSeriesType.Pie;
chartseries.Name = dt.Rows[i]["Val"].ToString();
chartseries.Items.Add(item);
this.chtCur.Series.Add(chartseries);
}
pnlCur.Visible = true;
}
else
pnlCur.Visible = false;
I've a report with 9 sub-reports all in detail section. I specified page break in the sub-reports. In Designer Preview, i see 12 pages for the entire report. When i view the report from report viewer, i see only one page comprising all the reports. But when i export it to pdf, i can see the 12 pages in the pdf. Why does the report in reportviewer behaves differently? It should be same as in preview is it? Is there anyway to show the report correctly in the reportviewer?
Another problem is,
I've a PictureBox object having a big image (say A4 size). In Designer Preview, i'm able to see the image clearly. But when i view from reportviewer, i cannot see full image or i don't see image at all. But when i export to pdf, i'm able to see the image in the pdf. Why does this happens? Any solution to fix this?