Hi, so glad to have found the web designer - thanks. I just used VS template to add it to a demo project and it worked well (apart from web.system import missing). On running the demo I tried to add a CSV Datasource and get this error:
Could not save resource 'BOOKED.csv'.
An error occurred while loading the data schema for "csvDataSource1": Invalid URI: The URI is empty.
Is there a quick config change needed in the project to allow uploads??
Also I tried to find documentation about the web designer and didn't find much beyond one page. Do you have details on how to (programmatically/config) create an empty report and add 4-5 default datasources so the user has something to start with?
Thanks, Matt
When you generate pdf you can set various pdf descriptions (DocumentTitle, DocumentAuthor, DocumentSubject, DocumentKeywords). If you use special chars "\().." Telerik automatically escape these chars with "\" or writes them direct if it possible.
We have problem when we use some our local chars. (some works some not)
Example: we put deviceInfo.Add("DocumentSubject", "Účtovný denník"); and the result is stored inside pdf file as /Subject(Ú\rtovný denník).
So Telerik automatically convert č -> \r, but only this one char.
We try:
1) set also deviceInfo.Add("DocumentNaturalLanguage", "sk-SK") but this doesn't help. (A language identifier in accordance to RFC 1766 that specifies the natural language for all text in the document. If absent, the language will be retrieved from report's culture. Example value: en-US.)
2) we try put this char as numeric sequence "\226" but Telerik automatically correct it to "\\226" and result is string "\226"
Any clues? :-)
Hello,
in out ASP.NET application we used the "old" WebForms ReportViewer until recently.
Now we use the new Html5 ReportViewer, and I want to change the skin/theme (css) as descriped in the "CSharp.ReportExamples", using the "CSharp.WebFormsDemo".
With the "theme-switcher", I am able to switch the diffent themes in the ReportViewer.
When I try to integrate this example in my application, I get the following error in the browser console:
Uncaught (in promise) TypeError: e.children(...).kendoPanelBar is not a function
at d (VM743 WebResource.axd:9)
at new r (VM743 WebResource.axd:9)
at HTMLDivElement.<anonymous> (VM743 WebResource.axd:9)
at Object.each (VM743 WebResource.axd:9)
at n.fn.init.I.fn.<computed> [as telerik_ReportViewer_SideMenu] (VM743 WebResource.axd:9)
at HTMLDivElement.<anonymous> (VM743 WebResource.axd:9)
at Object.each (VM743 WebResource.axd:9)
at Object.bind (VM743 WebResource.axd:9)
at init (VM743 WebResource.axd:9)
at start (VM743 WebResource.axd:9)
I figured out that this line causes the error:
<script src="/api/reports/resources/js/telerikReportViewer-kendo"></script>
But without this line, I am not able to switch the theme, even not in the example.
How can I manage to use the "bootstrap"-theme in my application?
Just include this css does not work:
<link href="https://kendo.cdn.telerik.com/2020.1.114/styles/kendo.common.min.css" rel="stylesheet"/>
<link href="https://kendo.cdn.telerik.com/2020.1.114/styles/kendo.bootstrap.min.css" rel="stylesheet"/>
Thanks and Best Regards,
Ralph
Hi,
I have recently upgraded Telerik Reporter Designer and Telerik package for Visual Studio for the newest available version which is possible to download from my company's account. Current Telerik Report Designer is R1 2018 and the Telerik.Reporting package in the project 12.0.18.416 - previously was 11.0.17.118.
For upgrading I have used Telerik Reporting Upgrade Wizard in Visual Studio. Everything worked fine, at least I thought so, because when I run the project locally, there is no problem. However, after uploading project to the dev environment the web application doesn't work. It throws error right from the start. Could you please tell me what am I doing wrong? How is it possible that everything work fine on the local machine and when uploaded to server it doesn't work at all? I'm attaching the printscreen of the error.
I really hoped that the upgrade will be smooth using the upgrade wizard and was very dissapointed to end up with broken project. I have spent many hours trying to find a solution, but I wasn't lucky.
Thank you in advance for any suggestions.
How can I generate PDF from a .Net Core WebApplication?
I'm using the following code:
var reportProcessor =
new
Telerik.Reporting.Processing.ReportProcessor();
var uriReportSource =
new
Telerik.Reporting.UriReportSource();
uriReportSource.Uri =
"Report.tdrp"
;
var result = reportProcessor.RenderReport(
"PDF"
, uriReportSource,
null
);
var output = result.DocumentBytes;
return
File(output,
"application/pdf"
);
But it gives me an exception:
System.BadImageFormatException: Could not load file or assembly 'System.Windows.Forms'
Hi.
I have a problem with Telerik Reporting.
Everything works fine when working under a Visual Studio instance, but when I make a deploy to my IIS Server it sends me the error that the parameters cannot be obtained. I install on my server Telerik Report Designer R2 2017 and Fiddler to catch the error.
{"message":"","exceptionMessage":"Report '%7B%22ReportType%22%3A1%2C%22Id%22%3A%22c5c93e92f97d409a8c73fd0dd7eef3cc%22%7D' cannot be resolved.","exceptionType":"Telerik.Reporting.Services.Engine.InvalidReportException","stackTrace":" in Telerik.Reporting.Services.Engine.ReportEngine.ResolveReportSource(String report)\r\n in Telerik.Reporting.Services.Engine.ReportEngine.GetParameters(String clientID, String report, Dictionary`2 parameterValues)\r\n in Telerik.Reporting.Services.WebApi.ReportsControllerBase.GetParameters(String clientID, ClientReportSource reportSource)\r\n in lambda_method(Closure , Object , Object[] )\r\n in System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<
GetExecutor
>b__2(Object instance, Object[] methodParameters)\r\n in System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack tracking from the previous location where the exception occurred ---\r\n en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n in System.Web.Http.Controllers.ApiControllerActionInvoker.<
InvokeActionAsyncCore
>d__1.MoveNext()\r\n--- End of stack tracking from the previous location where the exception occurred ---\r\n en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n en System.Web.Http.Controllers.ActionFilterResult.<
ExecuteAsync
>d__5.MoveNext()\r\n--- End of stack tracking from the previous location where the exception occurred ---\r\n in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n in System.Web.Http.Controllers.ExceptionFilterResult.<
ExecuteAsync
>d__6.MoveNext()"}
Hello Admin,
I would like to install Telerik Reporting in silent mode without user intervention, i did search through the documentation and help but was not able to find it.
Is there any noninstall i.e. zip file which can used to install the same and other steps that needs to be performed once the zip has been extracted.
Thanks
Piyush
Error: Incorrect version. The target project is using different Telerik Reporting version. Before adding this the project should be upgraded with the Upgrade Wizard or you should choose item template for the correct Telerik Reporting version
I have followed all the suggestions. I have used the upgrade wizard. I've made sure the .vbproj file has the correct version which is 14.2.20.916 by the way. I have made sure the config file is correct.
I understand wasting time when I can't figure something out, but this stupid stuff drive me nuts. There is no reason for it. No one seems to be able to get reports and report viewers right. Microsoft's is a heaping pile of misery, and I'm about to throw Telerik's right on top of it on the pile.
Hello,
MyMasterReport contains 3 subreport
in the report Master I have MyMasterReport.Datasource = MyModelClass
I wold like to have this:
subreport1.Datasource = MyModelClass.List1 //List1 is a property of my class MyModelClass and is a List<myObject1>
subreport2.Datasource = MyModelClass.List2 //List2 is a property of my class MyModelClass and is a List<myObject2>
subreport3.Datasource = MyModelClass.List3 //List3 is a property of my class MyModelClass and is a List<myObject3>
so, I create MyModelClass with a lot of property, one for each datasource
I send MyModelClass to master report, and it works:
-----------------------------
MyModelClass my_datasource_master = new MyModelClass();
master_report = new Reports.MyMasterReport();
master_report.Datasource = my_datasource_master;
--------------------------
How can I add MyModelClass.List1 to subreport1, etc... ?
In subreport1 I have just datasource, is myObject1 (and every subreport has indipendent datasource)
My problem is to link MyModelClass property List1 to my subreport1 datasource.
As you suggest in your post "https://www.telerik.com/forums/set-subreport-datasource-programmatically", in MyMasterReport I create binding has the follow image, but the subreport items are empty
And after the InitializeComponent() how can I do? Can I passing a List of Object as Parameters?
------------
Help me please,
Thank you
Hello,
I have a problem to add the Telerik report to existing MVC 5 web app. Now the error is ReportAccts:1 Uncaught (in promise) Invalid clientID. I did try different approaches like scaffolding type of app, the manual one, with API and just regular MVC5 controllers but without success.
Here is the link to 7z archive which will be active for 7 days: https://fil.email/gmmr1MNl
This is simple MVC5 web project but without packages because the size of them is too big. I not found a similar one in the demo. When you run it please use the link: http://localhost:58810/Report/ReportAccts
Could you please help?