Telerik Forums
Reporting Forum
1 answer
123 views

I have a problem after upgrade my project from Q1 2014 to Lasr version 2017 of telerik components and reporting. I solved the problems at the all components but at Reporting still have problems and i don't know why.

 

I have few reports which contain 2-3 subreports. After upgrade my parameters on NeedDataSource has value 0. but on sender the value is ok.

I tried few methods to extract the value but only one works.

    Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;<br>           
    string idUser = report.Parameters["idUser"].Value.ToString(); <br>           
    this.llDs.DataSource = new Service().GetLLGridModel((int.Parse(idUser)));

If i put: int idUser = report.Parameters["idUser"].Value or int.Parse(this.ReportParameters["idUser"]).Value.ToString()).  the value will be 0 I don't understand why?

 

Any other solutions? because my solution it's a trick but not clean code. i made cast to string to extract a value from object and then cast from string to int to pass to function...

Thank you

 

 

Katia
Telerik team
 answered on 24 Nov 2017
0 answers
91 views

Is there a way to generate barcodes by a list of numbers.

And print them directly.

 

I am Using C# .

Thanks!

Alex
Top achievements
Rank 1
 asked on 24 Nov 2017
3 answers
477 views

I upgraded from Telerik Reporting R3 2017 (version 11.2.17.913) to Telerik Reporting R3 2017 SP1 (version 11.2.17.1025)

The export options for Excel and Word are no longer present (but were available before the upgrade.

My project has references to both DocumentFormat.OpenXml v2.5.5631.0 and Telerik.Reporting.OpenXmlRendering v11.2.17.1025, both have CopyLocal = true

My web config has the following sections

<Telerik.Reporting>
  <assemblyReferences>
    <add name="ComplianceRisk.Data" />
  </assemblyReferences>
  <Extensions>
    <Render>
      <Extension name="IMAGE" visible="false" />
      <Extension name="MHTML" visible="false" />
      <Extension name="PPTX" visible="false" />
      <Extension name="RTF" visible="false" />
      <Extension name="XLS" visible="false" />
      <Extension name="XPS" visible="false" />
      <Extension name="DOCX">
        <Parameters>
          <Parameter name="UseMetafile" value="false" />
        </Parameters>
      </Extension>
      <Extension name="XLSX">
        <Parameters>
          <Parameter name="UseMetafile" value="false" />
        </Parameters>
      </Extension>
    </Render>
  </Extensions>
</Telerik.Reporting>

 

<dependentAssembly>
  <assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  <bindingRedirect oldVersion="2.0.5022.0" newVersion="2.5.5631.0" />
</dependentAssembly>

 

I don't see anything in the release notes, so wondering what I might need to do to get this working again...

Best,
Scott

 

 

Katia
Telerik team
 answered on 24 Nov 2017
6 answers
1.4K+ views

 

when i get report large data

about 5 - 10 minute code is error

 

 

Help me Please.

Thank you.

Silviya
Telerik team
 answered on 24 Nov 2017
1 answer
541 views

I have a report that does something funny to the table at the end of a page.  Please see the attached highlighted yellow region.  How can I make the table not add this strange outer, blank border at the end of every page?

 

Please help.  Thank you!!!!

Todor
Telerik team
 answered on 24 Nov 2017
1 answer
797 views
Hi,

I'm currently using Telerik.ReportViewer.Html5.WebForms.ReportViewer (Telerik Reporting v11.2) to display a report on a webpage with some parameters. How can I invoke programatically the Print command from the WebForms.ReportViewer object to print directly without showing Print dialog Box.


Thanks.
Silviya
Telerik team
 answered on 23 Nov 2017
5 answers
366 views
Hi there,

I am looking at generating reports based on a class that has the following structure:

public class DataItem
{
    public string ItemHeader { get; set; }
    public string ItemContent { get; set; }
    public string ItemFooter { get; set; }
}
 
public class ReportingDataSource00
{
    public ReportingDataSource00()
    {
        DataItems = new List<DataItem>
                        {
                            new DataItem {ItemContent = "ItemContent00", ItemFooter = "Footer00", ItemHeader = "Header00"},
                            new DataItem {ItemContent = "ItemContent01", ItemFooter = "Footer01", ItemHeader = "Header01"}
                        };
        ReportHeader = "Header";
        ReportFooter = "Footer";
    }
 
    public string ReportHeader { get; set; }
    public string ReportFooter { get; set; }
    public IEnumerable<DataItem> DataItems { get; set; }
}

ReportingDataSource00 has data that needs to be displayed only once on the report (header and footer), as well as a list of elements that need to be displayed in a table.  

When I try to use ReportingDataSource00 as a ObjectDataSource, the wizard will only recognize the properties Header and Footer.  Is it possible to use the DataItems list as a datasource for a list in the detail section of the report?

Best regardes




Katia
Telerik team
 answered on 22 Nov 2017
9 answers
1.0K+ views
Hi

I am trying to convert one of my report developed in Crystal Report into the Telerik Report. I am getting the error "Could not load file or assembly CrystalDecisions.CrystalReports.Engine Version = 10.2.3600.0" although I have it installed in the GAC.

Any ideas why the Reporting conversion tool is not able to load the abbembly present in the GAC.


Regards,
Nikunj
Katia
Telerik team
 answered on 22 Nov 2017
9 answers
774 views
Hello Team,

We have migrated from Asp.Net Report viewer to HTML5 Report viewer recently and facing trouble towards “Localizing HTML5 Report Viewer”.

Online documentation talks about .trdx report localization using JavaScript file like  resources.[culture].js.

However we are looking for localizing Asp.Net web Forms reports (i.e. cs Reports files) with HTML5 report viewer.
Attached are the screenshots of
1. localize Asp.Net Web Form Report (Using .RESX files)  -- refer TelerikReportViwer.png

2. HTML5 Report viewer with same report file used in 1 above  - refer  html5ReportviwerReport.png

Can you pls advise how best we can continue further with our localization of HTML5 Reports ?
regards,
Chetan
Katia
Telerik team
 answered on 21 Nov 2017
2 answers
726 views

Hi,

 

Finally discovered why some of my stored procedures are not returning the right list of columns on the Report Designer...

 

It's because the engine is sending "SET FMTONLY ON" to the SQL Server to get the list of columns... the big problem is this don't work when we use Temporary Tables inside of the store procedures (SPs).

 

I start to add SET FMTONLY OFF on the SPs that are being used on the Reports.

 

I would like to know if the use of this workaround have any other implications on the reports engine and I can continue to using it?

 

Thank You

RSousa
Top achievements
Rank 1
 answered on 21 Nov 2017
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?