Telerik Forums
Reporting Forum
4 answers
177 views
Hello,

I see that the converter is still stuck on (now very old) ActiveReports 3 series. I have a myriad of reports I would love to bring into the Telerik fold, but don't have the resources to rewrite from scratch.

Is there any hope of seeing a 6 or 7 converter in the future? I can see from 2009 posts that it was "in the works".

Best,

John
junk
Top achievements
Rank 1
 answered on 29 May 2013
1 answer
122 views
I have successfully implemented the PrintReport method found here: http://www.telerik.com/help/reporting/m_telerik_reporting_processing_reportprocessor_printreport.html

But, I find that that when I use identity impersonation to allow this code to work (configured via web.config), the impersonated account needs admin rights on the web server.  Our network admin would prefer to give specific rights to this account, vs. just adding to the administrators group.  Can you tell us what those would be?  He thought maybe a temp file was being created somewhere on the server to support the printing.

Thanks in advance!

Stef
Telerik team
 answered on 29 May 2013
2 answers
78 views
Telerik Team,

I am having an issue with a crosstab report. I have created a small demo project that easily shows the issue, much faster than typing out several paragraphs and code snippets to try and describe it.

I have zipped the file but cannot upload with your file attachment tool below. (only image files allowed)
Is there anyway I can send the zipped file to you and associate with this thread?

Thanks.
Stef
Telerik team
 answered on 29 May 2013
1 answer
177 views
Hello all,

I have a report that contains a chart.  In the chart plot area, I set the background image using relative path (~/Image/myimage.png). Everything works as expected using ReportViewer on asp.net page.  The problem I have is when I export the report to pdf format programmatically, the chart background is not set.

Here is how I export it.

           
   public Stream GetReportBytes(Guid studyId, string userName)
        {
            ReportProcessor reportProcessor = new ReportProcessor();
            Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
 
            ProjectReport reportToExport = new ProjectReport();           
            reportToExport.ReportParameters[0].Value = studyId.ToString();
            reportToExport.ReportParameters[1].Value = userName;
            instanceReportSource.ReportDocument = reportToExport;
            RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);
 
            return new MemoryStream(result.DocumentBytes);           
        }

And background image is set like this

MainChart.PlotArea.Appearance.FillStyle.FillSettings.BackgroundImage = "~/Images/ci_bg.png";


Please advice.

Cheers!
Stef
Telerik team
 answered on 28 May 2013
5 answers
597 views
Before calling my report, I generate a generic list of business objects. The processing is quite complex and I do not want to try to use Telerik's parameter facility to do this. 

How can I pass this List<BusinessObject> to Telerik Reporting at runtime? What do I use as a datasource in order to design the report?

I am using VS2010 and Report Q1 2011.

(Sorry I mis-posted this issue in the Winforms area - could not move it)
Stef
Telerik team
 answered on 28 May 2013
3 answers
217 views
I have a report that has a single parent (Patient) and multiple children (test results, recommendations, background information) with forced page breaks before each section. This is NOT a hierarchy it is distinct sets of information for the patient. 

In other products that I am familiar with you would create multiple detail sections but i understand from reading that this is not supported. I've tried to simulate this feature with groups but there only seems to be one hierarchy of groups. 

I've tried dropping each logical detail section in panels but:
a. there does not seem to be a way to create a page break for a panel
b. keeptogether does not always work as I would expect when the height of the section changes (i.e. if the kept-together section is longer than a page the first lines of it will be pushed to the prior page rather than creating a page break)

I am using report designer and pushing the XML report definitions to a server and then running them from there so assembling a set of subreports is not practical.

Any suggestions would be greatly appreciated.
Don Rule
Translational Software
Stef
Telerik team
 answered on 27 May 2013
3 answers
94 views
Hi Guys,

    I have a strange issue in my web application, when I access the web application from IPAD safari (IOS6) when a telerik report opens for the first time reportviewer opens blank and if I click on next button report loads the next page and then I have to click the previous to see the first page which was blank. im using Telerik Q2 2012 version and this is an urgent issue to fix. I tested on IOS5 IPAD safari version, it works well. Telerik report viewer is loaded on a ASPX page.

Best regards

Shivanka
Stef
Telerik team
 answered on 27 May 2013
6 answers
242 views
Dear all,

How can I bind the report to a data in a MVVM scenario.
I am using PRISM4(MEF), SL, RIA service.

I setup everything for the report to work using the EF connection, How can I do the binding to EF queries from the VM.

Best regards
KS
Top achievements
Rank 1
 answered on 24 May 2013
2 answers
384 views
Hi!

I create a trdx report in Telerik Report Designer. After I added this report to my project.

Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();
            uriReportSource.Uri = @"Report\teszt.trdx";
            TelRptViewer.ReportSource = uriReportSource;


I want to add a dataTable to report programatically. So my data is not avalible at design time.
I check some topic in help.
Working With Data at Design Time

"In this case you would have to mock your data just to enable the Report Designer to show any data schema. "
I don't understand this. How it is possible?

I already check this links too.
Using the NeedDataSource event to connect data
How to: Bind to a DataTable

My main problem is the next I don't really know or understand how to set a data-schema in designer.
Thx
Peter
Telerik team
 answered on 24 May 2013
6 answers
1.4K+ views
Hi there,

I really want to let the users know whenever an error or exception occurs while a report is generated. I use a ReportViewer to display my reports and I have an errorlabel placed above the viewer.

It is possible, due to rights, that a user cannot retrieve certain data and therefore the viewer throws an error message, but I want to show an "informative" message in an errorlabel outside the report, above the viewer itself on the .aspx page. Whenever this error or exception occurs I want to NOT generate the report (just abort it and show no report) and display corresponding error message in the errorlabel on the aspx page.

In my code-behind of my .aspx page I have the following:
CustomReport customReport = new CustomReport();
// ...set reportparameters...
this.ReportViewer.Report = customReport;
// report is getting generated and viewer shows an error

For all of you, I don't use a ReportProcessor, so the Error event of it cannot be used. The Error event of the report itself cannot be used as well, because it's located in another DLL and not accessible in my .aspx page. So why isn't there an event such as the Error event of the ReportProcessor and report for the ReportViewer? 

I really want to solve this, because I don't want to show the users a report with only an error in it. I don't want to show the report at all if an error/exception occurs and this error/exception details should be displayed in the errorlabel.

Looking forward to a solution or workaround! Thanks in advance!

Regards,
Datamex
Mukul
Top achievements
Rank 1
 answered on 24 May 2013
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?