Telerik Forums
Reporting Forum
7 answers
275 views

In my report i am using a cross-tab with toggle visibility option - though it behaves as expected but it slows down the performance of report at least 10 times when I integrate .trdx file in my application. My cross-tab has 2 groups and i am applying toggle visibility to parent group to show/hide child group. 

 

As soon as i remove toggle visibility from crosstab, report render 10 times faster - I have same action set up for graph and it works fine with no performance issues with graph. Can you please guide me if it's some know issue or is there some setting that's needed

Stef
Telerik team
 answered on 27 Apr 2017
4 answers
386 views

Hello Guys,

i recently updated my telerik reports to version 2017 R1 and i am facing one issue. 

the reports are getting loaded fine but once the reports get rendered i can not click on any of the controls on report viewer like next page, previous page, print, zoom, export none of this works. i move mouse over this controls and it doesn't even show tool tip. strange thing is that even scroll bar is not working.

any help in this issue will be much appreciated.

 

Kind Regards,

Savan K. Parmar

Stef
Telerik team
 answered on 27 Apr 2017
1 answer
218 views

Hi There,

ColumnHeadersPrintOnEveryPage option in Telerik reports works okay for downloading the reports in PDF format. But, when I tried to download the report in RTF format it doesn't print the column headers on all the pages.

Could you please help, how I can make it printable on all the pages for the both PDF and RTF formats.

Thanks

Haneela

 

 

 

Stef
Telerik team
 answered on 27 Apr 2017
6 answers
104 views

Hello guys!

I have updated the version of Telerik.Reporting in my project from 10.0.16.204 to 11.0.17.406 and suddenly faced with an issue with BookmarkId. All the BookmarkId which I set for the controls in my reports are simply ignored and new BookmarkId is generated instead since an update has been done.

 

Let's see an example. Here I set  BookmarkId for html textbox:

 

and here is the html which is generated:

 

 

Could you please help me to figure out what has been changed between the versions and how can I set custom BookmarkId now?

 

Thanks in advance,

Kostya.

Katia
Telerik team
 answered on 27 Apr 2017
2 answers
1.0K+ views

What is wrong??? if the user select send to print first, show this error "Object reference not set as an instance of an object"
But if first sent to the screen, and then select send to the printer, there no problem ????

I Attach my code

JOSE
Top achievements
Rank 1
 answered on 27 Apr 2017
1 answer
520 views

I am using code Telerik provided to immediately send a report to the printer in my MVC app. Of course, the printer dialog still appears. When it does, I'd like the number of copies set to 2 for a particular report. I tried the code below, hoping it would work, but it didn't. Do you know how to preset the number of copies when the printer dialog appears?

            var deviceInfo = new System.Collections.Hashtable();
            deviceInfo["JavaScript"] = "this.print({bUI: true, bSilent: false, bShrinkToFit: true, Copies: 2});";

Katia
Telerik team
 answered on 27 Apr 2017
2 answers
130 views

We are in the process of porting our Silverlight application to WPF.  We have run into some minor issues with the Export dropdown and I want to see if I'm missing something.

For a little context, our Silverlight and WPF app live side-by-side and we are assuming our end users are likely to be using both applications.  So we want to keep the experience between SL and WPF as close as possible.  Also, because we already have an architecture in place for the SL app, we are reusing that for the WPF app.  For example, when reports are run by the WPF app, they don't actually execute in process.  Instead, we use the Web API REST service to run the reports.  This is necessary because users of the WPF app don't actually have direct access to the database.  Only the web server has the credentials to connect to the database.

The first issue I have is controlling the order of the Export formats in the dropdown.  In the Silverlight app, we are able to control the order of the formats because we have our own IReportService implementation and have coded up the specific order in IReportService.ListRenderingExtensions().  I couldn't find a similar way to define the extensions that way in the Web API REST service.  The only way I found to control the formats was via the app.config file for the WPF app.  That works for hiding/renaming extensions but I couldn't get the 'order' property to work that is documented here: http://docs.telerik.com/reporting/configuring-telerik-reporting-extensions.

Am I doing something wrong with the order property or is there some other way to control the order?  This may seem minor, but as I mentioned our users are going to be using both applications and having the dropdowns be different could lead to confusion.  Interestingly enough, the order of the export dropdown is something that was important to our customers over 8 years ago (http://www.telerik.com/forums/order-of-export-formats-in-dropdown).

The other issue that I'm having trouble with is that it seems I need the rendering DLLs to be included in the WPF app in order for them to show up in the export dropdown.  But all the exports I'm doing are being done by the web server, right so I don't even understand why the DLLs need to be on the client.  As an example, until I included the Telerik.Reporting.OpenXmlRendering.dll included, the Word export didn't show up.  It's not a big deal but I'd rather not have to include DLLs if they aren't being used.

Thanks!

Stephen McDaniel
Top achievements
Rank 1
 answered on 26 Apr 2017
2 answers
147 views

I have a Telerik report that is a sales receipt for a store. I attached a sample of the report (4 pages). The problem is the second and fourth pages. They are both blank. You can see on the first image there are a number of line items that extend beyond a single page. So instead of continuing the line items on the second page, a page break is generated and the sales items continue on the third page.

Then a fourth, blank, page is generated at the end of the report. For my report footer, I do not have a page break after set to true, so I don't know why the last blank page is being generated.

Randy
Top achievements
Rank 1
 answered on 26 Apr 2017
1 answer
440 views
I have a report with a group section and then a table on in the details, linked by a defined field.  I want to use values from the table in expressions in the Group Header.  For example in the table I have a count for the number of rows.  I want to then display this value in the group header.  I want to then also use this value to determine if a field appears in the header or not.  Is this possible?  Any other suggestions on how to achieve this?  Thanks
Stef
Telerik team
 answered on 25 Apr 2017
1 answer
36 views

Hi,

I am trying to set the datasource for the report using the NeedDataSource event of the report. I am able to do so as

private void BasicReport_NeedDataSource(object sender, EventArgs e)
{
Telerik.Reporting.Processing.Report mainReport = (Telerik.Reporting.Processing.Report)sender;
mainReport.DataSource = new List<string> { "test1", "test2", "test3", "test4" };
//The below commented statement leave the fields blank on the report UI
//this.DataSource = new List<string> { "test1", "test2", "test3", "test4" };
var subReportOne = new Report1();
subReportOne.DataSource = new List<string> { "item1One", "item2One", "item3One", "item4One" };
var subReportTwo = new Report2();
subReportTwo.DataSource = new List<string> { "item1Two", "item2Two", "item3Two", "item4Two" };
var subReportItemOne = this.Items.Find(this.subReportOne.GetType(), true)[0] as Telerik.Reporting.SubReport;
subReportItemOne.ReportSource = new InstanceReportSource() { ReportDocument = subReportOne };
var subReportItemTwo = this.Items.Find(this.subReportTwo.GetType(), true)[0] as Telerik.Reporting.SubReport;
subReportItemTwo.ReportSource = new InstanceReportSource() { ReportDocument = subReportTwo };
}

As you can see above, i can set the datasource for the subreports easily by getting its object but not for the report using the "this" keyword. Please can someone explain why do I need to get it explicitly from the sender instead?

Many thanks!! 

Katia
Telerik team
 answered on 24 Apr 2017
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?