Hi,
I have created a TRDX report files using Telerik stand alone report designer. I created an asp.net web application and calling the TRDX report in the browser using telerik report viewer control. Below is the code used in the page load to call trdx report.
var reportSource = new UriReportSource() { Uri = "EVB_002.trdx" };
this.ReportViewer1.ReportSource = reportSource;
We need to implement support for different languages in these reports, example when user wants to see report headers in French, there must be an option for user to select the language. I have gone through following 2 links given in telerik documentation and created a resource file(.resx).
http://www.telerik.com/help/reporting/report-viewer-localization.html
http://www.telerik.com/help/reporting/advanced-localizing-reports.html
Please let me know the next steps to associate the resource files with telerik report viewer so that reports can be viewed in other languages.
Thanks,
Daniel
I have designed report template using standalone designer report(trdp extension).
I consumed that report template in my application and pass data to that report template to deliver complete report.
Everything works fine , but now i need to achieve localisation for those standalone report .
Please tell me the steps how I can add localisation for the culture "zh-HK" in the standalone report.
I have a nested table in a textbox of a table and I am having trouble getting the summary of all the records in the nested table.
I can get the summary of each group in the nested table. However, I cannot get the summary for all the records together.
I have posted the data structure with sample data below.
The data source of the parent table is "= ReportItem.DataObject.TicketReportsDC"
I have added a row "Outside Group - Below" and I have tried "=Sum(Fields.TicketDataContract.TicketJob.TicketDetails.OrderAmount)". This gives me an error :'OrderAmount' is not defined in the current context.
The data source of the nested table is "= ReportItem.DataObject.TicketDataContract.TicketJob.TicketDetails"
I have added a row "Outside Group - Below" and put "=Sum(Fields.OrderAmount)" in the appropriate textbox. This gives me the Summary for the individual ticket. ($1650.00, $1200.00, and $625.00 for the below sample data)
I have tried other possibilities and am not haveing any luck getting this. I believe it is due to the fact that the "TicketDetails" is a list within a list (TicketReportsDC) in the Data Structure.
Can anyone give me any ideas for referencing the "OrderAmount" at the top level? With the sample data below I would expect a total of $3475.00.
Thanks
James
-----------------Data Structure with Data ------------------
{
"TicketReportsDC": [
{
"TicketID": 1212
"TicketDataContract": {
"TicketJob": {
"TicketDetails": [
{
"Item#": 123
"Quantity": 3
"OrderAmount": 1500
}
{
"Item#": 124
"Quantity": 1
"OrderAmount": 100
}
{
"Item#": 125
"Quantity": 2
"OrderAmount": 50
}
]
}
}
}
{
"TicketID": 1240
"TicketDataContract": {
"TicketJob": {
"TicketDetails": [
{
"Item#": 123
"Quantity": 2
"OrderAmount": 1000
}
{
"Item#": 124
"Quantity": 2
"OrderAmount": 200
}
]
}
}
}
{
"TicketID": 1245
"TicketDataContract": {
"TicketJob": {
"TicketDetails": [
{
"Item#": 123
"Quantity": 1
"OrderAmount": 500
}
{
"Item#": 124
"Quantity": 1
"OrderAmount": 100
}
{
"Item#": 125
"Quantity": 1
"OrderAmount": 25
}
]
}
}
}
]
}
Whatever I try, the standalone Report Designer always displays "No reports available" in the "Select Reports to Import" dialog.
I tried to keep it as simple as possible:
Screenshots attached
hi,
I would like to display the datetime interval value from data field.
I am using the standalone report designer and my report has chart and summary data by group. I have tried out the aggregate function but my function will display the interval for inner group only. Kindly help to advise how to get this?
The report data structure would be like the following
Name,QtyName,DateTime
DV10002,Current Phase B,2016-09-05 00:15:00
DV10002,Current Phase B,2016-09-05 00:30:00
DV10002,Current Phase B,2016-09-05 00:45:00
DV10002,Current Phase B,2016-09-05 01:00:00
DV10003,Current Phase B,2016-09-05 01:00:00
DV10003,Current Phase B,2016-09-05 01:30:00
DV10003,Current Phase A,2016-09-05 01:00:00
DV10003,Current Phase A,2016-09-05 01:30:00
e.g DV10002
Current Phase B
Interval : 15 mins
DV10002 Summary
DV10003
Current Phase B
Current Phase A
Interval : 30 mins
DV10003 Summary
I have also attached the sample report.
Thank you
Error:
Method not found: 'Void System.Threading.Semaphore..ctor(Int32, Int32, System.String, Boolean ByRef, System.Security.AccessControl.SemaphoreSecurity)'.
Version:
.Net Core 3.0
Telerik Reporting R3 2019
Note:
The constructor Threading.Semaphore..ctor(Int32, Int32, System.String, Boolean ByRef, System.Security.AccessControl.SemaphoreSecurity) only available in .Net Framework 4.8
Nuget Packages:
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.0.0" />
<PackageReference Include="sqlite-net-pcl" Version="1.6.292" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.6.0" />
<PackageReference Include="System.Data.Common" Version="4.3.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.7.0" />
<PackageReference Include="System.Drawing.Common" Version="4.6.0" />
<PackageReference Include="System.IO.Packaging" Version="4.6.0" />
<PackageReference Include="System.Reflection.Emit" Version="4.6.0" />
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.6.0" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="4.6.0" />
<PackageReference Include="System.Security.Permissions" Version="4.6.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.6.0" />
<PackageReference Include="System.Threading.AccessControl" Version="4.6.0" />
Assembly References:
Telerik.Reporting.dll
Telerik.Reporting.Service.dll
Telerik.Reporting.Services.AspNetCore.dll
I am using Telerik reporting to produce price labels for products within our stores.
I have a VB project which produces the labels when a feed is recieved from our central servers. The XML input contains pricing and various other characteristics which then populate various fields on the label.
I need this to be rendered in Helvetica, and then the report gets pushed to a label printer. The label printing software runs on approximately 160 Win 7 machines and runs under the Local System user.
I have installed Helvetica.ttf on our UAT machine, and whilst printing from Dev on my own machine renders the Helvetica font perfectly, I cannot get it to work on the UAT machine.
app.config
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
configSections
>
<
section
name
=
"Telerik.Reporting"
type
=
"Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting, Version=12.2.18.1129, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
allowLocation
=
"true"
allowDefinition
=
"Everywhere"
/>
</
configSections
>
<
Telerik.Reporting
>
<
privateFonts
>
<
add
fontFamily
=
"Helvetica"
path
=
"C:/Windows/Fonts/Helvetica.ttf"
/>
</
privateFonts
>
</
Telerik.Reporting
>
label.vb
Public Sub New()
Dim Functions As New GenericFunctions
Dim ExceptionFunctions As New ExceptionFunctions
Dim EXC As New CollatedException
Try
InitializeComponent()
Dim dblXOffset As Double = CDbl(PrinterVariables.LabelPrinterSettings.Xoffset)
Dim dblYOffset As Double = CDbl(PrinterVariables.LabelPrinterSettings.Yoffset)
Dim xOffset As New Unit
Dim yOffset As New Unit
Me.Style.Font.Name = "Helvetica"
xOffset = Unit.Mm(dblXOffset)
yOffset = Unit.Mm(dblYOffset)
Hello,
I'm trying to get the ReportProcessor to work in a .Net Core class library (running as an Azure function) and attempting to load in a .trdp file (soon, it'll be multiple .trdp files) as the report source. Upon hitting the endpoint, it almost immediately crashes with:
Telerik.Reporting: The type initializer for 'Telerik.Reporting.Processing.Common.FontContainer' threw an exception. System.Drawing.Common: System.Drawing is not supported on this platform.
I've tried installing the windows compatibility pack and system.drawing.common in futile attempts to get this working, but have not yet been able to. Is this a limitation of Telerik reporting?