Telerik Forums
Reporting Forum
1 answer
164 views

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

Todor
Telerik team
 answered on 14 Oct 2019
3 answers
249 views
We recently experienced an issue with R3 2019 (13.2.19.918) where a user would go to our report screen and the report wouldn't load.  That user was then unable to navigate or use any other part of our web application without closing their browser.  We were unable to reproduce the issue, and it happened intermittently in production.  I noticed in the release notes of today's internal build (R3 2019 SP1 13.2.19.1004), that an issue has been fixed with WebAPI and the note says "Service stops responding in specific cases".  We want to know if this is the issue we were experiencing before deploying this version.
Todor
Telerik team
 answered on 14 Oct 2019
2 answers
818 views

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

Todor
Telerik team
 answered on 14 Oct 2019
4 answers
1.7K+ views
Hi,

Is there any way to set the size of a textbox dynamically based on length of its text in Telerik Reports?

Thanks.
Peter
Telerik team
 answered on 14 Oct 2019
1 answer
663 views

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)

 

Nasko
Telerik team
 answered on 11 Oct 2019
1 answer
655 views

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?  

Neli
Telerik team
 answered on 11 Oct 2019
3 answers
218 views

Hello,

I want to edit my report in design modus, but I can't get any items from the toolbox.

All the entries are disabled.

How can I solve this problem?

Best regards

 

Simon

Neli
Telerik team
 answered on 11 Oct 2019
1 answer
1.2K+ views

Hi,

We have a table with static column widths for all columns but one. We calculate the width for the Description column so that the table width is 100% of the containing page. We are using the following binding for the Description column:

Width  =WidthForDescriptionColumn(Fields.BillableSection)

where WidthForDescriptionColumn simply subtracts predefined column widths from the page width based on their visibility.

One of our customers complained that they use large numbers (like 8 digits + 2 decimal) and they get wrapped in the column. We decided to implement dynamic column widths for some columns using an approach mentioned at https://www.telerik.com/forums/auto-size-for-textbox#6rdYCe6DPUygy_EmqRM5sg . It did work, however since WidthForDescriptionColumn still returned a static value, the rightmost column got pushed beyond page edge.

The question is, is there a simpler way of achieving the following scenario:

1. Some table columns should have static width.

2. Some table columns should have dynamic width based on its content (actually something like min-width).

3. One of table columns should have dynamic width which is calculated so that the table width would be 100% of the containing page.

Thanks.

Nasko
Telerik team
 answered on 11 Oct 2019
4 answers
272 views
Do you have plan to develop web based report designer? we need it to go on devoloping our program with telerik
Ivan Hristov
Telerik team
 answered on 11 Oct 2019
2 answers
136 views

MVC HTML5 Report not rendering rect shape correctly when exporting to excel.

Version: 2017/3.0

See atached files.

Fernando
Top achievements
Rank 1
 answered on 10 Oct 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?