Telerik Forums
Reporting Forum
1 answer
93 views
It seems that the IFF evaluate everything in the (), regardless of the if results, and then returns the appropriate ones. This is causing an issue with this:

= IIf(Fields.Calls =0,0,Fields.Sub_Calls/Fields.Calls)*100


If Fields.Calls = 0, the expression errors with "division by zero"

shouldn't the expression ignore that and just return 0?

Thank you!
Steve
Telerik team
 answered on 16 Feb 2012
1 answer
169 views
Hi Team,

Can you please confirm if Telerik Report support HTML table (<table><tr><td>.....) and Background color.

Regards
Abdul.
Steve
Telerik team
 answered on 16 Feb 2012
1 answer
393 views

Hi,

I want to display content in the table format ..

I have placed a table from the report item and put in the detail section of the report and
designed using objectdatasource.I treated this report as a dll and use it in my asp.net application.
So I have find out the table control using "Finnd" method .I got the tbal control.
after I assined my datatable to the table datasource ,but no data displayed.
How to generate table formatted report ?I have gone through the telerik documentation of reportite table.

my code is given below .

Report9 objreport9 = new Report9();

 

 

Telerik.Reporting.Table tbl = (Telerik.Reporting.Table)objreport9.Items.Find("table1", true)[0];

 

 

 

tbl.DataSource = dt1 ;//dt1 is the datatable object which contains data
rptViewer.Report=objreport9  // rptViewer is the reportviewer control .


but no data displayed in the reportviewer.

1)So could anyone please give me the code for my scenario? (table display content).this is an urgent requirement.
2) also I need code for data display in the list report item.

Thanks,
Sindu.

Steve
Telerik team
 answered on 16 Feb 2012
2 answers
1.5K+ views
Hi guys I have the next problem, I'm working with telerik reporting tool and I have some textboxes that shows some values from database, is it possible to change this values to uppercase if they are shown in lowercase? I mean if a text box shows "cristian" change it to "CRISTIAN"
I've tried the next in my Report1.designer.cs file

this.textBox1.Value = "Nombre del niño(a):{Fields.fcNomMenor+\" \"+ Fields.fcPatMenor+\" \"+ Fields.fcMatMen" + 
                "or}".ToUpper(); 
    
and 
    
    
 this.textBox1.Value.ToUpper( = "Nombre del niño(a):{Fields.fcNomMenor+\" \"+ Fields.fcPatMenor+\" \"+ Fields.fcMatMen" + 
                "or}");
But nothing seems to work.
Hope your help.
Steve
Telerik team
 answered on 16 Feb 2012
1 answer
70 views
Please disregard my message, I have solved the problem in some other way.
Hadib Ahmabi
Top achievements
Rank 1
 answered on 15 Feb 2012
4 answers
190 views
We are evaluating Telerik Reporting for use in a web application that will run on a shared host.  This project requires us to email specific reports to users at specific times during the day.

Is there any functionality available in Telerik Reporting to manage automated generation and devlivery of reports according to a schedule?
Steve
Telerik team
 answered on 15 Feb 2012
2 answers
644 views
Hi,

I'm wonder how to merge a column cells of a Table.
Please view the attached screen-shot in order to get a best understanding of the requirements.

The crosstab control doesn't meet my requirements, so I need to implement the idea only using the Table control.

Please, I need your help,

Regards,
Bader

Bader
Top achievements
Rank 1
 answered on 15 Feb 2012
2 answers
274 views
Hi,

I'm using the following code in order export a report to PDF file. The problem is that even a small report with one page only is exported to a PDF file with a size of ~15 MB. How could that be? and how to handle this issue?
/Exports a report to a PDF document
public static void ExportToPDF(Telerik.Reporting.Report reportToExport)
{
ReportProcessor reportProcessor = new ReportProcessor();
RenderingResult result = reportProcessor.RenderReport("PDF", reportToExport, null);
string fileName = result.DocumentName + ".pdf";
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.ContentType = result.MimeType;
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.Private);
HttpContext.Current.Response.Expires = -1;
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.AddHeader("Content-Disposition", string.Format("{0};FileName=\"{1}\"", "attachment", fileName));
HttpContext.Current.Response.BinaryWrite(result.DocumentBytes);
HttpContext.Current.Response.End();
}


Please, I need your help,

Regards,
Bader
Bader
Top achievements
Rank 1
 answered on 15 Feb 2012
11 answers
341 views
Hi,

Ever since I upgraded my application to use the latest versions of the Telerik reporting and WPF tools I get an exception every time I try open a window in my application which uses the reportviewer.

Upgraded to 2011.3.1116.35 WPF
Upgraded to 5.3.11.1116 Reporting


XxmlParserException Occured

Could not load file or assembly 'Telerik.Windows.Controls.Navigation, Version=2011.3.1116.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  Error at object 'System.Windows.Controls.ControlTemplate' in markup file 'Telerik.ReportViewer.Wpf;component/Themes/Default/ReportViewer.xaml'.

I used to Auto update feature. I also manually deleted and added the references to see if that worked. No luck.

Do you have any advice on how I can solve this?

Thanks,

Rob
Steve
Telerik team
 answered on 14 Feb 2012
6 answers
255 views
We have some logos at the top of our report. These have been added to the report through the Properties dialog using the Value property and browsing to the PNG image file. The image is then added to the resources file.

Previewing the report in Visual Studio the icons display.
Viewing the report in the WinForms ReportViewer the icons display.
Viewing the report in the Silverlight ReportViewer the icons do not display.
Exporting the report to PDF from the Silverlight ReportViewer the icons display.

Why would this be?
Adrian
Top achievements
Rank 1
 answered on 14 Feb 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?