Telerik Forums
Reporting Forum
3 answers
594 views

Hello!

I have designed a table inside a Group Header.

Now I want to filter the datasource of the table with the key value of the group header.

How can I make this?

A.Kleine

Neli
Telerik team
 answered on 03 May 2019
1 answer
547 views
Hi,
  • I have a report with a table in the detail section inside a Group: Location. Both the report and the table have the same data source which is specified through code. I am using a filter in the table to get the entries by the Location in the group (Fields.Location = ReportItem.Parent.DataObject.Location). While the table is getting filtered, the rows are repeating which is not desirable. Is this the proper way to do this kind of filtering?

    Regards,
    Athul
    Neli
    Telerik team
     answered on 02 May 2019
    1 answer
    104 views

    I create my report form  and it can export docx file (click preview mode and select export with "Word Document").

    but after I resize textbox43 to fit content, it get the corrupt docx file. How can I solve this problem . 

    Silviya
    Telerik team
     answered on 02 May 2019
    5 answers
    431 views

    I recently upgraded by ASP.Core beta web project to an ASP.NET Core 2.0 application with an ASP.NET Core 2.0 API behind it.

    Before the upgrade, my Telerik reports ran fine.

    Now, the HTML5 viewer appears, and throws the following error:

    "Error registering the viewer with the service. An error has occurred. The type initializer for 'Lock' threw an exception."

    In Chrome developer's console, the following javascript error shows:

    1#:1 Uncaught (in promise) Invalid cliendID
    Promise.then (async)
    refreshReport @ telerikReportViewer-12.0.18.227.js:1442
    start @ telerikReportViewer-12.0.18.227.js:5417

    I have followed the exact steps from here to support ASP.NET Core 2.0 apps:

    https://docs.telerik.com/reporting/html5-report-viewer-asp-net-core-2#html5-report-viewer-in-asp-net-core-2

    Any ideas what the error means and how to fix it?

    Thanks!

    Silviya
    Telerik team
     answered on 02 May 2019
    17 answers
    1.2K+ views

    I get this error when I load a report from internal IIS 10 server, on my local developer machine it works : 

    Unable to get report parameters
    An error has occurred
    Attempted to perform an unauthorized operation

    it is a mvc core 2.2 project with full framework 4.7.2, the reports is in a report library

    $("#reportViewer").telerik_ReportViewer({
                    serviceUrl: '@Url.Content("~/api/reports/")',
                    reportSource: {
                        report: "IntraReport.Arr_Bekraeft, IntraReport",
                        parameters: { ID: @Model }
                    },
                    viewMode: telerikReportViewer.ViewModes.INTERACTIVE,
                    scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
                    scale: 1.0,
                    ready: function () {
                        //this.refreshReport();
                    }
                });

    Neli
    Telerik team
     answered on 01 May 2019
    16 answers
    2.6K+ views

    Hi,

    I am Using Telerik Reports. On one group i have put Page break = After.
    It is working fine for grouping and generating the page break after every group, but it generate an extra page when encounter the last group. How can i prevent this extra blank page.

    Thanks in advance..
    Gurpreet
    Neli
    Telerik team
     answered on 01 May 2019
    11 answers
    1.4K+ views
    Hi

    I tried to create report dynamically, but showing empty page.

    I checked with report by debugging, it shows rows and columns count. But not binding the data.

    please find the following code snippet i have used, and the report page attached.

    Report1.vb

    ----------------
    Partial Public Class Report1
        Inherits Telerik.Reporting.Report
        Public Sub New()
            InitializeComponent()
            Dim sqlConnection1 As New SqlConnection()
            sqlConnection1.ConnectionString = "Data Source=dbserver;Initial Catalog=StarflighteDecision;User ID=sa;Password=Admin123#"
            sqlConnection1.Open()
            sqlDataAdapter1 = New SqlDataAdapter("exec [daterange_report] '8/25/2009','8/27/2009' ", sqlConnection1)
            Dim dataSet As New DataSet()
            sqlDataAdapter1.Fill(dataSet)
            Me.DataSource = dataSet.Tables(0)
        End Sub
    End Class

    ==========================================================
    Default.aspx.vb

    ----------------------
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
          
            Dim report As IReportDocument
            report = New Report1()
            Me.ReportViewer1.Report = report
            ReportViewer1.DataBind()
           
    End Sub

    Please give any suggestions to solve it.

    Thanks in advance.

    Regards,
    Ragavan

    Neli
    Telerik team
     answered on 01 May 2019
    0 answers
    131 views

    I need to consume an API and pass parameters using the POST method.

    Placing a query via POST
    Where I hope in the message body an object with an integer attribute PatioID.

    When I configure the datasource, I inform the URL and Parameters via POST, when I command to execute of the error. (415 - unssupported media type )

     

     

    Andre
    Top achievements
    Rank 1
     asked on 30 Apr 2019
    1 answer
    136 views

    Dear All,

     

    I created a cross tab report that results in a single grid that is sometimes longer than one page. When it is less than one page, the cross-tab grid begins on page one. But when it is greater than one page, it leaves the first page blank and starts on the second page. How do I make it start on the First page regardless?
    I removed the "keep together" in the section expert and I was told about a "Keep Object Together" in the Cross tab expert but I did not find it in there but I did find a "keep columns together". But none of that fix it.
    Help?
    Thanks.

    Ivan Hristov
    Telerik team
     answered on 30 Apr 2019
    1 answer
    605 views

    I need to create a chart that contains a column chart and two line charts imposed over the column chart.  The data set that I am working with looks like the one I have attached in the data.jpg image and the chart should look similar to the one in the chart.jpg that is attached.  I have been trying to figure out how to make this work but all to no avail.  If someone has any tips on how to get the chart designed I would appreciate it.

    James

    Neli
    Telerik team
     answered on 25 Apr 2019
    Top users last month
    Edmond
    Top achievements
    Rank 1
    Iron
    fabrizio
    Top achievements
    Rank 2
    Iron
    Veteran
    RobMarz
    Top achievements
    Rank 2
    Iron
    Fakhrul
    Top achievements
    Rank 1
    Iron
    Tejas
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?