Telerik Forums
Reporting Forum
4 answers
1.6K+ 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
626 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
613 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
176 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
259 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
123 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
1 answer
515 views

OK, this one is to ask those using the Stand Alone Report Designer.

Looking for advice on which report designer to use, I understand it depends on my situation so here it is.
1. Just starting with reporting, have dabbled with both designers over the last week
2. Currently the site is a webforms public website using ASP.NET AJAX Controls.
3. I am the only developer, for a website that displays scientific data (right now mainly grids and graphs) that could benefit from Telerik reporting cross-tabs, graphs etc.
Before I decide which to choose I wanted to get your opinion on the pros and cons of the two designers.  For this reason I am posting this on both reporting forums for obvious reasons.
1. Which report designer gives you the most flexibility in design and what do you consider the pros and cons are of each.
2. Posts on the forum are 2,417 posts for stand alone (SARD) and 43,368 for Visual Studio (VSRD) - does this reflect that most people have chosen VSRD, and/or are there more problems when designing with VSRD.
3. If fewer people are using SARD do you envisage Telerik will continue with it (I have been stranded before on blind paths), and if they don't can the report file (TRDX) be easily imported into VSRD?
Many thanks on any advice!
Ian
Aussie Enjoying Oregon

Peter
Telerik team
 answered on 09 Oct 2019
1 answer
147 views

Looking for advice on which report designer to use, I understand it depends on my situation so here it is.

1. Just starting with reporting, have dabbled with both designers over the last week

2. Currently the site is a webforms public website using ASP.NET AJAX Controls.

3. I am the only developer, for a website that displays scientific data (right now mainly grids and graphs) that could benefit from Telerik reporting cross-tabs, graphs etc.

Before I decide which to choose I wanted to get your opinion on the pros and cons of the two designers.  For this reason I am posting this on both reporting forums for obvious reasons.

1. Which report designer gives you the most flexibility in design and what do you consider the pros and cons are of each.

2. Posts on the forum are 2,417 posts for stand alone (SARD) and 43,368 for Visual Studio (VSRD) - does this reflect that most people have chosen VSRD, and/or are there more problems when designing with VSRD.

3. If fewer people are using SARD do you envisage Telerik will continue with it (I have been stranded before on blind paths), and if they don't can the report file (TRDX) be easily imported into VSRD?

Many thanks on any advice!

Ian

Aussie Enjoying Oregon

 

Peter
Telerik team
 answered on 09 Oct 2019
6 answers
865 views

Hi,

I have a report with a table in the detail section.  The table is grouped on a field called 'Organization'.  I also have a parameter called 'Organization'.  The table will give one full iteration for each organization that the user chooses in the organization parameter dropdown.

What I want is to page break after each iteration of the table.  So if I choose org1, org2 and org3 from the 'Organization' dropdown, the report will generate 3 pages, each with a table iteration for each organization that the user has chosen.

I need this functionality for a client by next week and I cannot figure out how this is done.  Can someone PLEASE help?

 Thanks,

Phillip

Nasko
Telerik team
 answered on 09 Oct 2019
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?