Telerik Forums
Reporting Forum
3 answers
654 views

Hi Telerik,

We are using Telerik Reporting in HTML5 application. Currently we have some DevExpress report templates and want to load them in Telerik Reporting Viewer. Is there any tool available to convert DevExpress report templates to Telerik format? I searched the internet and there seemed to be a tool named XtraReports report converter. Can you tell me how to get and install it?

Thanks,

Kevin

Katia
Telerik team
 answered on 05 Feb 2018
1 answer
247 views
When we press the print icon in the report viewer we get:  Internal Server Error Parameter is not valid.  Instead of the printer dialog, which is available to any application in the browser. 

I read in another form post that the only way to fix this problem is to set printers up on the server, but in our case that's impossible.  Has this been resolved?    

Thanks
Andrew
Todor
Telerik team
 answered on 05 Feb 2018
4 answers
612 views

Hi Telerik, I am creating Telerik Report using Telerik REST Services. I created my report and now I want to use it in my company project. For that I created reference of Reporting project to my Company' Project and called the Constructor of Report. Here is code for that:

string ReportsPath = @"C:\ReportsDownload";
string reportFileName = String.Format("FormReport-{0}.pdf", frm);
string reportWebPath = String.Format("/Reports/{0}", reportFileName);
var formReport = new AQSRestServiceObject.AQSReport(); // Calling Report Constructor 
formReport.ReportParameters["FormNumber"].Value = 12476;
var processor = new ReportProcessor();
var result = processor.RenderReport("PDF", formReport, null);
using (var pdfStream = new MemoryStream(result.DocumentBytes))

using (var reportFile = new FileStream(Path.Combine(ReportsPath, reportFileName), FileMode.Create))
      {
          pdfStream.CopyTo(reportFile);
       }

As you can see above I am having FormNumber as parameter for my Report and it is coming by objectDataSource. When I run my project I get an exception and I need help to solve it.
Here is an Exception: 
System.InvalidOperationException: The view 'An error occured while evaluating the report parameters. Report source cannot be processed.' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Home/An error occured while evaluating the report parameters. Report source cannot be processed..aspx
~/Views/Home/An error occured while evaluating the report parameters. Report source cannot be processed..ascx
~/Views/Shared/An error occured while evaluating the report parameters. Report source cannot be processed..aspx
~/Views/Shared/An error occured while evaluating the report parameters. Report source cannot be processed..ascx
~/Views/Home/An error occured while evaluating the report parameters. Report source cannot be processed..cshtml
~/Views/Home/An error occured while evaluating the report parameters. Report source cannot be processed..vbhtml
~/Views/Shared/An error occured while evaluating the report parameters. Report source cannot be processed..cshtml
~/Views/Shared/An error occured while evaluating the report parameters. Report source cannot be processed..vbhtml

SourceControl Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

Here is my ReportController Paths:
var appPath = HttpContext.Current.Server.MapPath("~/AQSReport");
var reportsPath = Path.Combine(appPath, "Reports");

 

Can anyone please help me to solve this exception.?

Todor
Telerik team
 answered on 05 Feb 2018
2 answers
683 views

I'm now using the 2018 version of the Telerik Report Designer but whenever I try to launch the application I receive the following error message;

 

System.TimeoutException: The operation has timed out. at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout) at Telerik.ReportDesigner.AppClient.Send(String m) at Telerik.ReportDesigner.WorkbenchHost.SendCommand(String applicationMoniker, String command, String param) at Telerik.ReportDesigner.WorkbenchHost.Run() at Telerik.ReportDesigner.Program.Main(String[] args)

 

This occurs when double clicking the report file within Visual Studio 2015 and also when launching the standalone application.

If I reboot my computer I am able to launch the application but when I close it and reopen it this is when the error occurs. 

Please advise, as it is not convenient for me to reboot my computer every time I need to use this application.

A screenshot of the error is also attached.

Thanks.

 

Todor
Telerik team
 answered on 05 Feb 2018
8 answers
194 views
I just downloaded Telerik Reporting and also the Telerik controls for WPF.  The WPF controls are 2013.3.1204.40.  The reporting controls are Q3 2013 7.2.13.1016.  When I attempt to open a report, the Telerik ReportViewer constructor throws an error:

Could not load file or assembly 'Telerik.Windows.Controls, Version=2013.3.1016.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Telerik.Windows.Controls, Version=2013.3.1016.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7"

Well of course it can't load the 1016 version since I have 1204.  I downloaded these directly from the site.  Why are the versions out of sync?  How can I fix this?
Jorge
Top achievements
Rank 1
 answered on 03 Feb 2018
1 answer
175 views

I found the following answer in Reporting Forum:

But I don't know how to check the data count within SubReport1_NeedDataSource

We are using a SQLdatasource.

Thanks...

Kelly

 

https://www.telerik.com/forums/how-to-hide-subreports-if-they-do-not-have-the-data-needed-to-be-display#s7pqNThtmkS75q1uwVoqrg

   Private Sub SubReport1_NeedDataSource(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SubReport1.NeedDataSource  
        Dim subReport As Telerik.Reporting.Processing.SubReport  
        subReport = CType(sender, Telerik.Reporting.Processing.SubReport)  
 
        If (...no data expression...) Then 
            subReport.Visible = False 
        End If 
    End Sub 

 

Katia
Telerik team
 answered on 02 Feb 2018
0 answers
110 views
I am new to telerik. I am trying to create a report using standalone report design, where I want to get the names of the employees with there departments. I am using report parameters to filter out the results and it is working fine at the moment. The problem is that I want the report to display all the employees when no value is provided in the parameter box. But it is giving me no data at all when I do not pass anything in the text box but when I pass any name that matches with the name of the employee it gives me correct information. 
Can anybody help. Thank you.
Muhammad
Top achievements
Rank 1
 asked on 02 Feb 2018
1 answer
1.2K+ views

Hello!

 

Is there any way to check which version of the file? I have a manager that was developed in C #, and I want to check the file version before uploading.

Silviya
Telerik team
 answered on 02 Feb 2018
7 answers
856 views

I want to split a particular string with a slash (/) operator and use the output in the textbox. The first part needs to be formatted in bold and the other in italic. The string I want to split is "International Delivery Note / Note de livraison internationale" .

 

How should I do this in the telerik report designer for visual studio ?

Nick
Top achievements
Rank 1
 answered on 01 Feb 2018
5 answers
737 views

Hi guys, I am interested in using the Telerik Report Web Services for my company; however, before I can make a final decision on this, I will need to clarify on a few implementation areas to see if this fits into our company's projects. Here is the story ....

I have successfully created a Telerik report web service based on the instruction on your website but.....I wonder

  • if it is possible to call Telerik Report web services from other web services and manipulate "data object source" as well as "report parameters" on the runtime. For example, I have a service call Reports (ASP.NET Core project targets .Net 4.7.1) which handles all of the report generation requests from the UI, this service processes and handles all the report-generation requests (based on the business logic) then generate a business Object contains information for generating PDF, XLSX files. I would like to send this business object to the Telerik Report web service together with Report Parameters so a report (PDF, HTML, XLSX) can be generated.
  • Same as above but between 2 different controllers, ReportController (for handling business logic and generate required data) and TelerikReportsController (for generating report File).
  • In both scenario, is it stills possible for me to use Telerik Report Viewer on the client side

Examples, diagrams, map, source code to the above problems would be appreciated as I may need them to convince my bosses

Trung
Top achievements
Rank 1
 answered on 31 Jan 2018
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?