Telerik Forums
Reporting Forum
5 answers
201 views

Hi.

Unfortunately was not succeed finding something similar on the forum. The problem is as follows:

There are few reports which has a barcode fields within. The report being printed is trying to be scanned with the barcode scanner (motorola-symbol). Everything works fine when the value of the barcode is alphanumeric without a big amount of leading zeros. But when there are, for example, 6 leading zeros, it scans 7 of them.

The details:

Scanners tested : Motorola Symbol and few other models

Symbology being displayed: Code128, UPCA

Checksum: with/without.

NB. When scanning 123123 value barcode, everything is fine. When 0000003 (6 zeros) it scans as 00000003 (7 zeros). The scanner is barely the problem since I've tested with different devices.

Any clues or advices would be really appreciated.

IvanY
Telerik team
 answered on 12 Aug 2013
1 answer
348 views

Hi Support,
I have some detailed questions on your reporting tool.
I´m looking for a reporting tool for WinForms and Web.

I want to send HTML invoices to my clients via E-Mail. Depending on the numbers of positions on the invoice, the invoice could be more than one DIN A4 page.

So is it possible to generate just one HTML file with headers and footers (first page have another header than the rest) so that the customers can print the HTML file to any DIN A4 Printer without hassle of damaged, missing or relocated content of the report?
If so, can you send me a multipage sample to my E-Mail Address to get an impression of the result?

Second - Web Report and responsive Design:
Is it possible to generate this HTML file in a responsive Design way and sent it by e-mail?
So when the customers open the attached HTML report on any device, can they also read it in a smooth way?
Or with responsive Design it is only possible to upload the report to a webspace and sent the customers a link, so when they click on the link, they get the right HTML report on this device? Do I need special features on the webspace. I want to use IIS 7.5 and .Net 4.0.
Or do you have a special Report Viewer (without installing on the client side) to view the report on any device?
Or are there any other techniques in your reporting tool, that I don ́t know?

What is the right solution you can offer me for responsive design HTML Invoices?

Best regards, Rene

Peter
Telerik team
 answered on 12 Aug 2013
4 answers
247 views
All,

This is my first post so bear with me.     I have a library project with several telerik reports that represent different kinds of collection notices.   I've been successfully putting an optical readable scanline in the footer of these reports using the system installed TrueType "OCR-A Extended" font.    Right now I am in need of introducing OCR-B and be able to switch back and forth whenever.   

The programmatic switch is not the issue as that is trivial.   I purchased a Type 1 font from Xerox and installed it in my Windows 7 Operating System (64 bit).  I am using Visual Studio 2010 writing in C# and using Telerik Reporting Q3.    The font drop down wont show my newly installed font.  I rebooted VS and then Windows to no results.

Is there Telerik support for Type 1 fonts or some sort of non-trivial font installation?

Thanks,

Marcel
Peter
Telerik team
 answered on 12 Aug 2013
2 answers
158 views
Hi telerik,

I've 1 business object which has 2 child objects and both are printed on subreport.
Though I've succeeded several reports of this type, 1 report has a problem.
As attached image, one of 2 subreport always repeated as if he is normal plain record.
Both subreport located in detail section contained in panel as your doc described and
I'm sure each child object is unique and has his own entity list.

Pls advise me what is my mistake.
Thank you in advance.

Kang
Yonggu Kang
Top achievements
Rank 1
Iron
 answered on 11 Aug 2013
4 answers
198 views
I'm passing data sets for my master and subreport. For each row in master report, the subreport needs to call a procedure using the master row data. 

I added NeedDataSource handler in the master report constructor:
subReport2.NeedDataSource += new EventHandler(subReport2_NeedDataSource);

then I added NeedDataSource handler function as below:

private void subReport2_NeedDataSource(object sender, EventArgs e)
{
    //read parent/master row data:
    int goalID = ??; //how to get the data from the current master row?
 
    //get measurements for this goal:
    System.Data.DataSet ds2 = DataHelper.Measurements_GetMeasurementsForGoal(goalID);
    var objectDataSource = new ObjectDataSource();
    objectDataSource.DataSource = ds2;
    subReport2.Report.DataSource = objectDataSource;
}

 I have GoalID as a field of master report. How to get the current master row to read the goalID? the sender object in subReport2_NeedDataSource is an instance of SubReport2. 

your help is very appreciated!
Yanli
Top achievements
Rank 1
 answered on 09 Aug 2013
1 answer
186 views
I am trying to format the date on my Y-axis label so it shows "August, 2013"  I have set the axis LabelFormat property to {0:Y} but it still displays the full date time.  See attached picture.  
Also the data point label for March extends beyond the right side of the graph.  Is there a way to shrink the graph so the label always appears within the border of the graph?

//
// cartesianCoordinateSystem1
//
this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1";
this.cartesianCoordinateSystem1.XAxis = this.graphAxis1;
this.cartesianCoordinateSystem1.YAxis = this.graphAxis2;
//
// graphAxis1
//
this.graphAxis1.LabelFormat = "{0:C0}";
this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this.graphAxis1.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
this.graphAxis1.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this.graphAxis1.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
this.graphAxis1.MinorGridLineStyle.Visible = false;
this.graphAxis1.Name = "graphAxis1";
this.graphAxis1.Scale = numericalScale1;
//
// graphAxis2
//
this.graphAxis2.LabelFormat = "{0:Y}";
this.graphAxis2.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this.graphAxis2.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
this.graphAxis2.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this.graphAxis2.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
this.graphAxis2.MinorGridLineStyle.Visible = false;
this.graphAxis2.Name = "graphAxis2";
this.graphAxis2.Scale = categoryScale1;


Thank you
Thomas
Stef
Telerik team
 answered on 09 Aug 2013
10 answers
493 views
Hi,

I'm in trouble with the ReportViewer under Silverlight. Under development machine everything works fine but when deploy the project to production server (IIS7) silverlight report viewer doesn't display the report but shows a Async_ExceptionOccurred exception.
I've read all the other threads about this problems and I've checked that:

As referenced by server project following assemblies are present under the bin directory:
Telerik.Reporting.dll (also installed in GAC as a try) - 5.0.11.316
Telerik.Reporting.Service.dll (also installed in GAC as a try) - 5.0.11.316
Telerik.Reporting.XamlRendering.dll (also installed in GAC as a try) - 5.0.11.316

Of course SL project references:
Telerik.ReportViewer.Silverlight - 5.0.11.316

First I have tried without luck with the multisite bindings enabled (.NET 4 feature) as it works perfectly with the dev environment:
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
then I've tried to explicetely define telerik services and bindings (as stated in documentation):

 

  <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    <services>
      <service
              name="Telerik.Reporting.Service.ReportService"
              behaviorConfiguration="ReportServiceBehavior">
        <endpoint
               address=""
               binding="basicHttpBinding"
               contract="Telerik.Reporting.Service.IReportService">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint
                address="resources"
                binding="webHttpBinding"
                behaviorConfiguration="WebBehavior"
                contract="Telerik.Reporting.Service.IResourceService"/>
        <endpoint
                address="mex"
                binding="mexHttpBinding"
                contract="IMetadataExchange" />
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="true" />
        </behavior>
        <behavior name="ReportServiceBehavior">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
      </serviceBehaviors>
      <endpointBehaviors>
        <behavior name="WebBehavior">
          <webHttp />
        </behavior>
      </endpointBehaviors>
    </behaviors>
  </system.serviceModel>
Unfortunately none of the above solution worked in my case.
Report works fine in my dev environment, is developed in SL4, under VS 2010.
The event viewer of the server doesn't report any error.
Looking at the WCF tracing (using tracing viewer) I see that telerik service is correctly open and the closed.
Also navigating to the service uri ("...\ReportService.sc") it correctly shows the service signatures.

I've create a great telerik report, my clients are ansious to see the final effect :)

Do you have any ideas on what could be wrong?

Adolfo Marinucci



Stef
Telerik team
 answered on 09 Aug 2013
1 answer
233 views
I'm using telerik reports with stored procedures and after upgrading to Q2 2012 I receive errors in the report viewer when trying to preview reports using sp's. I also have quite a few reports using dataset which runs fine still.

I use string as input parameter type and convert to uniqueidentifier inside the sp using the CAST function. This worked like a charm in my previous install (Q2 2008), but trying to run the same reports now gives the following error: 
 
An error has occured while processing Report 'some_report_name':
Conversion failed when converting from a character string to uniqueidentifier

When debugging the sp and copying the same value as I use as default value in the report parameter dialog into the input parameter value field, the sp runs fine. So it looks to me like the value of this param gets invalidated somehow between the report viewer initiation and the execution of the sp.  Any ideas ?

TIB
Tor Ivar
Top achievements
Rank 1
 answered on 09 Aug 2013
5 answers
407 views
my png image is stored on a Uri object and it has the following format
"pack://application:,,,/AppName.Modules.App.Shared;component/Images/AppName_logo.png"

how do I put this image into the .value property of a PictureBox element in my report.

regars.
Wadigzon
Top achievements
Rank 1
 answered on 08 Aug 2013
3 answers
865 views
I have a report and i need to insert a page break based upon a group. I already know that i can insert page break after any report section. But i need to break page in the detail section. I have a scenario something like that:
There are some summary rows (Based on a customer). After the summary rows, I want to show the details against that customer. This goes on for multiple customers. I need to break page after one customer's data ends. Now, i need to know that is there a way to insert page breaks within a section (Not after a section, i know it is possible).

I know this is not possible, but is this functionality added in the latest version (2013 Q1)...?
Stef
Telerik team
 answered on 08 Aug 2013
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?