Telerik Forums
Reporting Forum
1 answer
299 views
Hello

We are trying to create a report that contains a PCL escape sequence for a HP printer to read and then generate a 2D barcode using the Barcodejet software installed on the printer.

<esc>27(s0p0v20,0b24830TBARCODE.<esc>

Is it possible to insert the PCL escape sequence into a Telerik report and if so what is the escape character that should be used to represent the start of the escape sequence?

Thanks in advance

Joel
Nasko
Telerik team
 answered on 06 Aug 2014
3 answers
167 views
Report Designer stopped working after adding 2 db fields.
Can neither Preview Data in Existing Reports, or Design New Reports,  

Fortuneately Production still works.
  I did clean build, add-migration & update-database successfully, clean build;
  Copied (2) project dll's from Bin to ReportDesigner folder (overwrote last ones).
  EntityFramework.dll already there - unchanged.
  Telerik.ReportDesigner.exe.config - left unchanged

I even hand added (into .trdx text file) one of the new entity class fields to appear in an existing trdx report, it worked in production.
  At a standstill with Telerik Report Designer

Preview Data gets msg - Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.  On ALL Existing reports, same msg.

Incidentally, Telerik.Reporting & Telerik.Reporting.Services.WebApi are Q3 2013 7.2.13.1016
Have from Jan 2013-2014 DevCraft Ultimate Bundle - [I know, need to resubscribe]

Have learned a ton following many Telerik Documentation, Tutorial & Blog posts.

Using VSO to checkin & autobuild into Azure-Web (with Azure-SQL [dev & prod db same right now, I know not good, but helps in this issue])
Running Visual Studio 2012.  MVC5, EF5. - [I know, need to upgrade]

Tried attaching VS Debugger to Telerik.ReportDesigner.exe process - couldn't get it to trap error when Designer displays it.
Tried Assembly Binding Log Viewer, wouldn't show anything.
Tried on a second workstation - same issue.... - havent tried a new workstation from scratch.
How can we trap that error.

Editing existing reports, the New fields do show up in Data Explorer ok.  E.g. fPhone1, fPhone2;
  however, click preview, get error

2nd Problem, Try to Create New Report, when choosing context, dropdown never gets populated, stays blank?
looked @ both AppData\..\Telerik..\user.config & Telerik.ReportDesigner.exe.config for anything out the ordinary.  Seemed ok.

Is there another way we can trap the error better
Best
-Jason
Stef
Telerik team
 answered on 05 Aug 2014
1 answer
180 views
I have created a sample project here, please download it and let me know what is the issue?
https://www.dropbox.com/s/98ufwhrgnj19bdw/SampleReportTest.zip

I need help in generating a sample report can you please help?
I create a design report file and assign it a ObjectDataSource where its datasource is a class.

In my code behind, I give a datatable with the same fields as of the class to render on my report, but its just doesn’t display the rows? Any ideas what I might be doing wrong?

See sample project from my dropbox link above. Also, note once I build the dataexplorer shows no fields/properties of the objectDataSource1.

Rajiv 
Stef
Telerik team
 answered on 04 Aug 2014
1 answer
163 views
Hi,

I am trying to conditionally skip code when in design mode, and normally use the following:

if (LicenseManager.UsageMode == LicenseUsageMode.Designtime)
               return;

However, when previewing reports hooked up to a temporary objectdatasource, this above code does not work.  Is there a way to determine if I am in report preview mode?  The reason I ask is that I want to bypass the _NeedDataSource event if I am in VS and previewing the report.

Thanks,
David A.
Stef
Telerik team
 answered on 04 Aug 2014
1 answer
67 views
Hello Everyone

I have a reporting service running on a server with cross-orgin enabled, and i am accessing the reports using report viewer on my client side.
This works well on following browsers (Firefox, Chrome , IE-Edge, IE-10) except on IE 9.

when i run it on IE 9 it gives me a script error

SCRIPT1014: Invalid character
File: telerikReportViewer-8.1.14.618.js, Line: 726, Column: 17

Is there something i am missing somewhere because i even tried different versions of ReportViewer but i still get the error.

Thanks In advance


KS
Top achievements
Rank 1
 answered on 04 Aug 2014
1 answer
106 views
I am trying to source a field from a Method instead of a Property on the Object, is there anyway to accomplish this?

public class MyObject()
{
   public PropertyA{get;set;}
   public string GetValue(string Name)
    { 
        return "XYZ";
    }
}

In my Dynamic Report I am trying to do something like:

rowTextBox.Value = "=GetValue(\"" + columns[i].Name +"\")";
dataTable.DataSource = new List<MyObject>();



But it doesn't appear to find and execute the method.  Any ideas?
Nasko
Telerik team
 answered on 04 Aug 2014
1 answer
57 views
Hello,

I'm used to using Crystal Reports and being able to have multiple sections for Group Headers. This allows me to show some of the group headers (the column headers for the details section on every page, and the description of the group only once.

I'm becoming more familiar with using panels, but I don't see a way in the conditional formatting on how to make a panel only print once in the group section while leaving the rest of the data to print on every page.

Any help would be greatly appreciated.

Philip Carter
Philip
Top achievements
Rank 1
 answered on 03 Aug 2014
1 answer
258 views
Is there a field property to have the resulting value be the empty string when an expression evaluates to NaN or Infinity?

I know how to work around this by using a string property that formats the value for me, but I was wondering if there was a code-less way.

Thanks
TechSavvySam
Top achievements
Rank 1
 answered on 01 Aug 2014
5 answers
535 views
I know I can control the page scaling of Exported PDFs using the "ViewerPrintScaling" rendering extension.  However, it appears this setting is ignored when using the Print button on the toolbar.  Instead, PDFs are always scaled.  It would be nice if PDFs always respected the rendering extension configuration (even when printing).  Or is there some other way that I can force printed PDFs to not scale?

Thanks,
-Stephen
Stef
Telerik team
 answered on 01 Aug 2014
1 answer
64 views
When viewing a report in IE 11, it produces an "access denied" error on line 493 of http://localhost:40311/Telerik.ReportViewer.axd?optype=Resource&version=8.1.14.618&name=Resources.ReportViewer.js

This works fine in Chrome.

When debugging, the error is due to paramsFrame.contentWindow, which is what throws the access is denied exception.

I believe this is a CORS issue, however I am running locally within visual studio 2010 using ASP.NET Development Server.
KS
Top achievements
Rank 1
 answered on 01 Aug 2014
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?