Telerik Forums
Reporting Forum
1 answer
119 views
I'm trying to replicate a SSRS report that uses a DbContext for a data source. Each page of the report has a header and footer that contains data that is retrieved and display based on report parameters. I don't see any way to implement columns in the header because I can't place a table in the PageHeaderSection. I would love to hear some suggestions on how best to accomplish what I'm trying to do.
Silviya
Telerik team
 answered on 13 May 2019
2 answers
143 views
Hello, I have a question, I am using version 2019 and when I generate a report with a line series it doesn't connect the points, the line is not drawn using Arrangemode = Clustered, when I change to Stacked it draws them twice, help I need only one line, I'm forgetting some configuration?.
Foton
Top achievements
Rank 1
 answered on 09 May 2019
1 answer
525 views

Hello,

I just installed Telerik Reporting r1 2019.

It tells me that the installation was successful, but Visual extudio does not detect the extension.

How could I add it?

Thank you.

 

 

Nikola
Telerik team
 answered on 09 May 2019
5 answers
1.2K+ views

Hello,

i have problems to resolve ExpensesData[] (Indexer,Array or what ever) in my table column.

Please see the attached file.

In the column "Fahrtzeit" I become the message --> ReportLibraryTest.DriverReportService.ExpensesData[]

What can I do to get to the data.

Is there an easy way to resolve contents of lists or arrays into table columns?

 

Thats the implementation of ExpensesData[] in the Webservice:

  [System.Runtime.Serialization.DataMemberAttribute()]
        public ReportLibraryTest.DriverReportService.ExpensesData[] Expenses {
            get {
                return this.ExpensesField;
            }
            set {
                if ((object.ReferenceEquals(this.ExpensesField, value) != true)) {
                    this.ExpensesField = value;
                    this.RaisePropertyChanged("Expenses");
                }
            }
        }

 

thanks in advance.

 

Todor
Telerik team
 answered on 09 May 2019
4 answers
343 views

Hi,

I have crated class library report (.cs) and wanted to know how to set some value to textbox using ReportsController (i.e. web api)

 

Thank you!

Prashant

Marcel
Top achievements
Rank 1
 answered on 09 May 2019
2 answers
1.2K+ views

I am trying to set up the report viewer to display a report using the InstanceReportSource. I want to use the InstanceReportSource because our application programmatically renders, compresses and downloads mass reports. I have followed this guide and have set up the rest service and custom resolver. I am using the same code to create the reports for rendering/downloading and for passing to the report viewer. The rendering and downloading works just fine but the report viewer is blank. During debugging, I can see the Reports API controller being hit and the resolver creating the InstanceReportSource.

I have created a a sample application that shows how I am using the reporting service. I'm sure that I'm missing something minor. I just can't figure out what. Any help would be much appreciated.

Sample Application Download

Darren
Top achievements
Rank 1
 answered on 07 May 2019
2 answers
752 views

I have a Telerik Reporting Library 2019 project which contains Telerik Reports. The reports are consumed from a ASP.NET Core web application when controller actions are called. So there is a reference to this Reporting library project from Web project.

In the web project I create a ReportBook to generate report. and render the report as a PDF.

[HttpGet("{reportId}", Name = "Report")]
public async Task<IActionResult> Get(Guid reportId)
{
    //Report Book
    var reportBook = new ReportBook();
    var instanceReportBookSource = new InstanceReportSource
    {
        ReportDocument = reportBook
    };
 
    //Cover Page
    var coverPageReportSource = new InstanceReportSource();
    var coverPagereport = new CoverPage(reportId)
    {
        DocumentName = "Cover Page Report"
    };
    coverPageReportSource.ReportDocument = coverPagereport;
    reportBook.ReportSources.Add(coverPageReportSource);
 
    var reportProcessor = new ReportProcessor();
    var renderingResult = reportProcessor.RenderReport("PDF", instanceReportBookSource, new Hashtable());
 
    var fileName = renderingResult.DocumentName + "." + renderingResult.Extension;
    var path = Path.GetTempPath();
    var filePath = Path.Combine(path, fileName);
 
    using (var fs = new FileStream(filePath, FileMode.Create))
    {
        fs.Write(renderingResult.DocumentBytes, 0, renderingResult.DocumentBytes.Length);
    }
 
    var output = renderingResult.DocumentBytes;
    return File(output, "application/pdf");
}

 

 In the reports I have few PictureBox components. I want to set pictures from a http url (https://docs.telerik.com/reporting/report-items-picture-box#data-binding)

Example

1.var pictureBox = ((Telerik.Reporting.PictureBox)(reportDef.Items.Find("pictureBox1", true)[0]));
2.pictureBox.Value = "https://d585tldpucyb98b4-413e94c0e92bvanemkallan.jpg"; //Some Image URL

 

But when I try to do that it always gives an error (report-error.png). Is this because I have report definition in one project and consuming it from another project (web project). How can I solve this.

 

 

 

Todor
Telerik team
 answered on 07 May 2019
5 answers
703 views

Hi. I have error page. (attached file)

We have four servers. only 1 server has this problem. All settings are same. I couldn't find any differences.

The report page has just a small circle shape.

I used default Html5ReportViewer1.html and aspx form which is created by Visual Studio new file menu.

 

When I use fiddler I got this message with URL /api/reports/clients.

 

{"message":"An error has occurred.","exceptionMessage":"개체 참조가 개체의 인스턴스로 설정되지 않았습니다.","exceptionType":"System.NullReferenceException","stackTrace":"   

위치: Telerik.Reporting.Cache.CacheStorage.AddInSet(String key, String value)\r\n   
위치: Telerik.Reporting.Services.Engine.PersistableCollection`1.NewItem(String newID, Action`1 initializeObject)\r\n   
위치: Telerik.Reporting.Services.Engine.ReportEngine.RegisterClient()\r\n   
위치: Telerik.Reporting.Services.WebApi.ReportsControllerBase.RegisterClient()\r\n   
위치: lambda_method(Closure , Object , Object[] )\r\n  
위치: System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)\r\n   
위치: System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)"}

Silviya
Telerik team
 answered on 07 May 2019
3 answers
369 views
Hi  All,

I use Telerik Report Designer to handle data into a Report Designer table as an output . I have a list of object. This object has a few properties to correspondents to this Report table columns. I want to hide / collapse some of the Report table columns dynamically.

I searched/ googled on any forum even if Telerik, but there are no exact solutions.

Could any one help me about this?

Thanks in advance.

Kerem
Guilherme
Top achievements
Rank 1
 answered on 06 May 2019
0 answers
54 views

I am looking for Kendo Grid row select when click on button in the popup in TypeScripting. Would you please help me.

 

Thanks,

Nomesh

Nomesh
Top achievements
Rank 1
 asked on 04 May 2019
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?