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.
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);}
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
.
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

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
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" ?

Hi,
I have some columns that sometimes may have null values... I got the null rows to shrink with CanShrink = True in Layout property, but it seems this doesn't seem to work on the columns...I've attached some pics... Any help?
Hello,
I have graph with Y axis (date) and i need hide date without values. It is possible?