I am using object data source to bind the data. But I am breaking my head to fix the list of objects in the report designer which is failing in the preview report. my business model returning List of objects from a class. like,
Public class Master
{
public int id {get;set;}
public string name {get;set;}
public string deptname {get;set;}
public List<content> content {get;set;}
}
public class content
{
public int contentID{get;set;}
public string contentName {get;set;}
}
My businesslogic method like below,
public async Task<List<Master>> GetToken(string AppNo)
{
----------Business return list of objects of Master----------
Return resultMaster
}
Questions,
1. how do I define an object in the report? ( =Fields.resultMaster.ID) or (=Fields.ID)
2. Given the model (Content) how do I bind in the report? (=Fields.resultMaster.Content.ID)
Could you please give me same report for "Report Designer Q2 2015" version. The one you attached is an old version of Telerik report.
Thanks.
My boss and I created a custom report resolver that works on his machine but not mine.
The ResolveReport() method is not called on my machine. We've got the exact same code.
Could you give us any hint to try and debug this issue?
Regards
public class ReportsController : ReportsControllerBase{ public ReportsController() { this.ReportServiceConfiguration = new ReportServiceConfiguration() { ReportResolver = new CustomReportResolver(), Storage = new Telerik.Reporting.Cache.File.FileStorage() }; }}public class CustomReportResolver : ReportResolverBase{ protected override ReportSource ResolveReport(string report) { TypeReportSource _ReportSource = new TypeReportSource() { TypeName = typeof(MADashboard).AssemblyQualifiedName }; return _ReportSource; }}I have recently installed reporting onto my machine. All the example projects works fine but the below one is not loading the report fine and throws exception.
CSharp.Asp.NetCoreDemo
Unable to get report parameters.
An error has occurred.
Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.
It looks like all the reports which connects to DB with .NetCore is not working.
Can you fix and let me know what is the issue?


Hi all,
facing quite strange behavior in WPF application where print button in Telerik ReportViewer does not show Print Dialog, insteadd the application crashes.
any ideas
Thanks
Hi All,
I Deploy a Web Application in Windows Server 2012 Virtual Machine.The UI is Working fine.But the Report is not Working.But It works fine in Local host and the godaddy Sever.Same code is used for all environment i attached the Screen shot.Please any one try to help me to Resolve the Problem.
Thank you...
I am having a problem getting a report parameter to work in an MVC application. The goal is to have the report results filtered by student number. I have the parameter and filter configured in the report designer. I can apply the student number to the report when running the report in the designer so this problem is isolated to the MVC application specifically. Here is some of the key code that (I think) should be sufficient to understand what I am trying to do:
Inside HomeController:
public ActionResult StudentReport()
{
var uriReportSource = new UriReportSource();
uriReportSource.Uri = "Report1.trdp";
uriReportSource.Parameters.Add(new Parameter("StudentNumber", "120432"));
return View();
}
Inside StudentReport.cshtml:
<body>
@(Html.TelerikReporting().ReportViewer()
.Id("reportViewer1")
.ServiceUrl(Url.Content("~/api/reports"))
.ReportSource(new UriReportSource() { Uri = "Report1.trdp" })
.ViewMode(ViewMode.Interactive)
.ScaleMode(ScaleMode.Specific)
.Scale(1.0)
.PersistSession(false)
.PrintMode(PrintMode.AutoSelect)
.EnableAccessibility(false)
)
</body>
The error I am getting is: An error has occurred while processing Report 'Report1': Cannot perform '=' operation on System.Double and System.String.
