Telerik Forums
Reporting Forum
5 answers
1.3K+ views
We have a telerik report that will be exported in pdf format.

As part of the report, there is a group section that shows a “summary” of the items the group, later followed by more detailed information in the detail section.  The “summary” is on the group header, and is currently using a sub report to show some data.

As part of the summary, we want do show page numbers for the items in the detail section so the user can reference it.

I note we already have a table of contents in the report header that does this, but the client’s requirements also need the page number in the “summary” section on the page header.

Additionally, the items in the detail section of the parent report already have bookmarkId values assigned, and the summary sub report already has text that has a “Navigate to Bookmark” action in place that points to the bookmarkId on the parent report and this works when clicking on it. 

Basically we just need a way to pick up the actual page number to display.

Is there a way of doing this (e.g. pick up the page number where a bookmarkId is located)?

Thank you
Todor
Telerik team
 answered on 24 Jun 2019
3 answers
499 views
Hi;

I have a report that uses a table item. When this report is exported to excel some of the table cells span across multiple cells in Excel. I would like to know how to avoid this and make sure that each cell in the Report Table item control gets converted to only 1 worksheet cell in Excel.

Update:
    I have a header on the report and a section below the table that displays a legend. When I do not display these 2 sections the table does not export with merged cells to Excel. So is there an option that can specify that the table is to exported exaclty as defined to Excel?


Ok - I read more about export operations and it makes sense that merge cells is possible if different content is being used on the report. Then the export functionality has to determine the best mapping to Excel which may require cells to be merged (I don't know if a worksheet can have different sections that are seperated - i.e do not use the same merges on the same fields). If someone has a good technique to try and optimize this then I would like to hear about it.

Peter
Neli
Telerik team
 answered on 24 Jun 2019
16 answers
740 views

Hello,

I am using a MVVM Pattern for my Application, which contains several WPF ReportViewers. They are bound to Reports, stored in public Properties of the ViewModels as you have shown in this Forum.

The Problem is, that the Views containing these Reports are never disposed. Normaly once the ContentPresenter (TabControl or something) no longer contains a reference to the ViewModel, itself along with the appropriate View (UserControl) are beeing disposed.

Memory Profiler shows that the ReportViewer contains RadSliders, those are connected via SizeChangedEventHandlers to the MainView and that keeps them alive in Memory. Closing the MainView would of course close the Application, so that is no Solution.

As you can see in my Sample Application, if you Load and Remove the Report 20 Times the small App already needs 500MB of Memory.

Can you provide me with some way to remove those unneeded ReportsViewers, without having to open an additional Window for the Viewer?

thank you very much

Timo

Ivan Hristov
Telerik team
 answered on 24 Jun 2019
1 answer
1.5K+ views

 

Hello team,

is it possible to set multiple datasource to a table?

Probably it is not possible.

But I need the data from different datasources to display in one report table.

Is there any trick for this problem?

I would otherwise create 2 or 3 tables, set one datasource each, and then put them together on the report to make them look like one.

But it's not so easy.

It should look good, without distortions.

So that you recognize what I mean please see the attachment.

 

Todor
Telerik team
 answered on 21 Jun 2019
2 answers
138 views

Our client has prepared a Word template and we need someone to help converting the content into Telerik Report Designer template (ie.TRDP).

Have tried Freelancer.com but not much luck there, wondering if there is anyone here who might be interested to take up a quick freelance job?

For further detail, please visit -> https://www.freelancer.com/projects/illustrator/build-report-using-the-telerik/

Many thanks!

Sieu Ping
Top achievements
Rank 1
 answered on 21 Jun 2019
1 answer
375 views
     I'm hitting an issue trying to install the Telerik.Reporting.Services.AspNetCore.Trial package. I've tried multiple times and after clearing Nuget cache but I keep getting an error saying Nuspec file does not exist in package. 
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 20 Jun 2019
1 answer
594 views
I'm currently working with the Standalone Telerik Report Designer and the ASP.NET WebForms 
<telerik:ReportViewer>

component in the .aspx file.

This is an example of a DataObjectMethod that I'm using for the report.

[DataObjectMethod(DataObjectMethodType.Select)]
public Dictionary<DateTime, int> GetContactTotals(string connStr)
{
       var bllCont = new BLLTotals(connStr);
       return bllCont.GetContactTotalsPerMonth();
}

 

It will build and display data fine when I pass in a default connection string in the Report Designer, however I want to be able dynamically change the connection string at runtime for the report as it will be using different customer databases. I've tried adding a Report Parameter in the Report Designer, as well as adding a parameter to the Report Viewer component in the .aspx file and setting it from code behind, however I just can't get it to work.

Is there something I'm missing? Or would this be the correct way to approach this type of problem.

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 20 Jun 2019
4 answers
779 views
Hi,

i have report with page header section,  i set the "printonfirstpage" property  false for pageheadersection, that's y my page header didn't show up in firstpage , it shows from 2nd to lastpage. 
now my question is i want to hide the page header in 2nd page also.. i want show up from 3rd page to lastpage.
how can i achieve this. please help to my issue.

Thanks in Advance
Siva

Todor
Telerik team
 answered on 20 Jun 2019
3 answers
578 views

I want to give top margin on each page except first page. How can I achieve this?

My current approach is that I gave top margin to PageHeader section and trying to hide PageHeader section on specific pages. But I failed because it hides PageHeader on all pages.

Please suggest.

Thanks

Todor
Telerik team
 answered on 20 Jun 2019
13 answers
565 views

Scenario: We are printing a financial transaction report from an odata service.  The query is very large because the user entered a query that requests too many records.  Now I want to cancel the report because it is taking too long to generate.  How can we cancel the report? (Canceling the report should cancel odata request as well).
Odata uses cancellation tokens to cancel.  See: https://docs.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken?view=netframework-4.8

Here is one post to cancel report, but it's solved: See: https://www.telerik.com/forums/cancel-report-generation

 

Todor
Telerik team
 answered on 20 Jun 2019
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?