Telerik Forums
Reporting Forum
6 answers
839 views
I am looking for a way to export data to Excel without having to view a report. Is it possible to bypass the report and output straight to Excel?
Patrick
Top achievements
Rank 1
 answered on 03 Oct 2012
2 answers
120 views
The standalone report designer is a very good tool to allow non-developers to do some report writing.  We use it for most of our report creation and distribution.  It would be VERY NICE if we could create report templates that allow you to create a standard layout and parameter collection required for every report without having to open a previous report, remove datasets, and rename.  Thanks!
Vassil Petev
Telerik team
 answered on 03 Oct 2012
9 answers
494 views
I'm currently using DataDynamics Report(DDR) designer in an enterprise solution and I'm considering switching to the Telerik solution because the former product is in limbo.   I created  a .Net Custom Data Provider that simply passes SQL text to a web service and the service returns a DataTable.  The DDR designer or viewer can't tell the difference and works as though it is connected to a Sql Data Provider.
 
Does the telerik designer and viewer support this functionality?
Do you have an example?

Tim Kelley

Vassil Petev
Telerik team
 answered on 03 Oct 2012
1 answer
201 views
Hi,

I want to do individual paging for each group in report.

i.e. if in particular report there are 2 groups.  1st group has 3 pages and 2nd has 4 pages...
1) 1st group has total 3 pages so paging should be 1 of 3, 2 of 3 and 3 of 3.
2) 2nd group has total 4 pages so paging should be 1 of 4, 2 of 4, 3 of 4 and 4 of 4.

Is this possible in telerik reporting? If yes, how?

Thanks,
Vatsal
Steve
Telerik team
 answered on 03 Oct 2012
1 answer
109 views
Hi,

   I have a MasterReport with SubReports which as worked with last version, but when I did upgrade to 2012 Q2 in my project, MasterReport stopped working!

The code below was working in last version and now doesn't work. Occurs this error when I set Data Source. 

this.subReport2.ReportSource.DataSource = listOrdersMonth;


Please, I need to solve it!

Thanks!
IvanY
Telerik team
 answered on 03 Oct 2012
1 answer
173 views
Hi,

I try to build up the report definition dynamically. The exact report definition depends on the data sent to the contructor (eg, dynamic number of colums). But Telerik Report seems to call the parameterless constructor where we do not have the needed data to build up the report definition. Why do we need a parameterless constructor  and why are multiple instances created with the parameterless constructor?

I have an sample ASP.NET MVC 4 project exemplifying this scenario but i cant attach it,
How do i attach a sample project?

Thanks in advance

Tommy
Elian
Telerik team
 answered on 03 Oct 2012
1 answer
272 views
Hello,

Our client/server application project is at a crossroads report technology wise. We have been experimenting with Telerik Reporting, creating a prototype in which the report definitions are stored as Xml in a database on the server side, deserialized and presented client side. The report data sources are domain model objects passed from the server to the client. An unconditional demand from our product owner is that end-users are given the opportunity to edit existing reports, and also create new alternative ones. We were unable to fully accomplish this using existing Telerik Reporting technology, since the only report editing capabilities provided is the stand-alone report designer. This designer, although for it's purposes fully functioning, provides no alternatives for datasource that are useful to us.

What we would need to know, to be able to make an informed decision regarding Telrik as vendor, is whether a report designer component that can be embedded in our WPF client application is in the Reporting roadmap. And, if so, when this might be available. The reason we need this, apart from not having to temporarily store the Xml-definition clientside as a trdx-file, is to be able set the data source programatically, enabling the end-user to add report fields through drag & drop.

Best regards
Rikard
Steve
Telerik team
 answered on 03 Oct 2012
2 answers
250 views
Hello

I am working on a report, where the PageHeader has to have a label (addressee) that can have 4 different values and depends on the current page and total number of pages in the report. 
I have created a method that takes these, but it is not working as anticipated.

I debugged it and the problem is that the PageCount that is passed is not the final at the time of calling the method. Is there a way to access  the total number of pages from code-behind?

Regards,
Roland
Roland
Top achievements
Rank 1
 answered on 03 Oct 2012
5 answers
470 views
Hi,

I am new to Telerik and I am following the code posted on your website related to adding reports to a website.  However, when I run this code:

Dim instanceReportSource As New Telerik.Reporting.InstanceReportSource()
            instanceReportSource.ReportDocument = New ListBoundReport()
            ReportViewer1.ReportSource = instanceReportSource

I get an error message saying that 'Type Telerik.Reporting.InstanceReportSource is not defined'.  I have my reference to Telerik.Reporting.  I was wondering if you can help me figure what I am missing.

Thank you,
Leo
illumination
Top achievements
Rank 2
 answered on 02 Oct 2012
1 answer
325 views

Posted 20 hours ago (permalink)

Hi,

I have a Report with a table

With the parameters I'm testing with, my data call returns 17 rows of order objects.  Binding directly to the table datasource gives 17 rows as expected.  The report has a footer that relies on the same dataset and setting the report dataset causes the table data to repeat.  Instead of one page with 17 rows, it becomes 18 pages with  the same 17 rows reapeated on each page.

I tried setting the data source on the table's NeedDataSource event, and it ran 18 times.
I'm currently setting the table datasource in the report NeedDataSource.

This gives proper grid, no footer:
this.OrderDetailsTable.DataSource = SupplyReplacementFacade.GetOrdersByCompanyID(newAndPendingOnly, patientFilter, startDate, endDate);

This gives 18 pages of grid with proper footer:
 private void OrdersDetailReport_NeedDataSource(object sender, EventArgs e)
        {
                string authToken = (string)this.ReportParameters["AuthToken"].Value;
                bool newAndPendingOnly = (bool)this.ReportParameters["NewAndPendingOnly"].Value;
                DateTime startDate = (DateTime)this.ReportParameters["StartDate"].Value;
                DateTime endDate = (DateTime)this.ReportParameters["EndDate"].Value;
                PatientSearchType patientFilter = (PatientSearchType)(int)(long)this.ReportParameters["PatientFilter"].Value;


                if (SRServicesFacade.VerifyAuthentication(authToken, SERVICE_NAME, SERVICE_VERSION))
                {
                    //TODO: Change this for a regular GetCompanyInfo call when the change to store the company info happens

                    this.txtCompanyName.Value = CompanyManagementFacade.GetCompanyName();
                    this.DataSource = SupplyReplacementFacade.GetOrdersByCompanyID(newAndPendingOnly, patientFilter, startDate, endDate);
                    this.OrderDetailsTable.DataSource = this.DataSource;
                    //this.OrderDetailsTable.DataSource = SupplyReplacementFacade.GetOrdersByCompanyID(newAndPendingOnly, patientFilter, startDate, endDate);

                }
        }
The same thing happens when you set the datasource in the needs datasource event.
private void OrderDetailsTable_NeedDataSource(object sender, EventArgs e)
        {
            if (((Telerik.Reporting.Processing.Table)(sender)).DataSource == null)
                ((Telerik.Reporting.Processing.Table)(sender)).DataSource = Report.DataSource;
        }


How do I set the report datasource, so that I get the page footer information, and set the table datasource so that it has one page of 17 rows?

Thank you for your help,

James Trimmier
James
Top achievements
Rank 1
 answered on 02 Oct 2012
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?