Telerik Forums
Reporting Forum
5 answers
336 views

Is there going to be any support for C# Dynamic's?

I am working on a multi-language report and there is no easy way to add multi-language to your reports. 

 

The easyest way for me is to work with dynamics but the Telerik ReportDesinger isn't those properties. 

Todor
Telerik team
 answered on 19 Jun 2019
5 answers
399 views

Hi,

I am attempting to use the standalone report designer with an Object DataSource that returns ExpandoObject.  I have been following this example to provide a custom type description provider for ExpandoObject: 

http://www.telerik.com/support/kb/reporting/details/how-to-use-objectdatasource-with-expandoobject

However, I am having trouble getting this to work with the standalone designer.  I cannot think of a way to get the custom type description provider registered when running in the context of the standalone designer.  Is there a way to accomplish this (maybe through configuration)?  

Thanks!

-Kevin

 

Todor
Telerik team
 answered on 19 Jun 2019
1 answer
106 views

Hello,

 

I have a report with a two column layout, a header and a footer.

I need an summery on the last page, like the "Report Footer". The problem with the report footer is that it wil be only in 1 column, and i need it across the entire page (like the layout i added).

How can i archieve this? Adding it to the footer didn't work out, since it height cannot be changed dynamically. 

 

Greetings,

 

Jelke

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 18 Jun 2019
3 answers
851 views
Several Telerik users have reported that after installing multiple versions of Telerik Reporting the Telerik menu disappears from Visual Studio 2017.

It seems that some versions of the VSIXInstaller (which is the tool used for deploying extensions) allow installing multiple instances of the same extension package - the package responsible for the Telerik menu in the particular case. Visual Studio 2017 however does not load such packages. Repairing the Telerik Reporting installation doesn't resolve the problem.

  1. Close all Visual Studio instances
  2. Download Duplicate Extension Finder tool .exe
  3. Open Command Prompt
  4. Run DuplicateExtensionFinder.exe -delete
  5. Start Visual Studio
  6. Open Tools -> Extensions and Updates...
  7. In Installed extensions list click Disable button of ALL Telerik entries.
  8. Restart Visual Studio.
  9. Open Tools -> Extensions and Updates... tool again
  10. In Installed extensions list click Enable button of ALL Telerik entries.
  11. Restart Visual Studio. Telerik menu should be visible now.

The problem is reported to Microsoft Visual Studio team to look it on their side at Developer Community Forums. We are also working on this and we will release fix with one of our next releases.

Keith
Top achievements
Rank 2
 answered on 18 Jun 2019
1 answer
249 views

Issue :

When report is exported from code, the textbox which displays invoice date do not format the date correctly, The format is set to {0:D}, the result is 01/May/2019 12:00:00 AM.

When same report is exported from report viewer , the date is formatted correctly, i.e. Monday, April 1, 2019

Below is code to export report from code.

Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();
Telerik.Reporting.TypeReportSource typeReportSource = new Telerik.Reporting.TypeReportSource();
typeReportSource.TypeName = typeof(FCInvoiceHeader).AssemblyQualifiedName;
typeReportSource.Parameters.Add("OrderNumber", header.InvoiceNumber);              
Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", typeReportSource, deviceInfo);
string fileName = header.InvoiceNumber + "." + result.Extension;
string path = @"C:\FleetCareBulkInvoice\";
bool exists = System.IO.Directory.Exists(path);
if (!exists)
   System.IO.Directory.CreateDirectory(path);
string filePath = System.IO.Path.Combine(path, fileName);
using (System.IO.FileStream fs = new System.IO.FileStream(filePath, System.IO.FileMode.Create))
{
     fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
}
Todor
Telerik team
 answered on 18 Jun 2019
1 answer
155 views

Hi All, 

I am new to standalone Telerik report designer, i have a issue , created a report using crosstab.

In preview , i see the crosstab is repeating with data.

EX:

Crude Oil
NYMEX Swap 2019 57.04
2019 57.04
2019 56.75
2019 56.75
2019 56.75
2019 56.75
2019 56.75
2019 56.75

Crude Oil
NYMEX Swap 2019 57.04
2019 57.04
2019 56.75
2019 56.75
2019 56.75
2019 56.75
2019 56.75
2019 56.75

 

.

 

Neli
Telerik team
 answered on 18 Jun 2019
5 answers
404 views

 

Hello,

as you can see in the attached files the Displaymember is set to "= Fields.OperationalVType" .

But nothing will appear when I call my report.

The report parameter "Vorgangstyp" is empty.

OperationalVType is from type enum.

 

public enum OperationalVehicleType
       {
           Waschen = 1,
           Hauptuntersuchung = 2,
           Werkstatt = 3,
           Tanken = 4,
           Kilometerstand = 5,
           Abgasuntersuchung = 6
       }
 
       public OperationalVehicleType OperationalVType {get;set;}

 

What is going wrong?

 

Best Regards

 

Simon

Todor
Telerik team
 answered on 18 Jun 2019
1 answer
114 views

Hi,

I have telerik reports in WinForm project. I have another project which is WebApp in Angular & Web API as well. I want to give a "Download" option to my WebApp. On click of that button, i want to download telerik report in pdf format. I don't want to re-create my all telerik report in Angular project. Please suggest me a better solution.

Thanks

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 17 Jun 2019
11 answers
1.0K+ views
Hello,

This is a suggestion request. Sometimes, we need to view or print multiple reports at once. So is it possible to merge multiple report objects into one report and pass it to viewer control?

Regards, 

mei
Neli
Telerik team
 answered on 17 Jun 2019
4 answers
602 views

Hello,

I'm using WebServiceDataSource to connect with database through odata. In database there is InventoryDocDetail table which has Product property referenced to Product table.

I'm connecting to InventoryDocDetail and printing the product's Sku property on my report. The problem here is InventoryDocDetail.Product may be null. In this case, I just want to print nothing. Currently it gives null reference exception error(See attached Error.JPG file).

I saw many forums, but no one helped me. For example, I wrote like this expression in textbox: = iif(Fields.Product is null, "this is null", Fields.Product.Sku), but it still showing error when product is null.

     1. How can we solve the issue?

     2. Can we use C# expression here like this: "= Fields.Product?.Sku" ?

 

Todor
Telerik team
 answered on 17 Jun 2019
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?