Telerik Forums
Reporting Forum
1 answer
117 views

Hi,

I have a report with lot of columns. I need to show it with the fixed font size(8px) and horizontal scroll bar in HTML Report Viewer. But when I try to render the report, the report shrinks(it tries to fit in the container). How can I render the report without shrinking it and with horizontal scroll bar

 

Regards,

Majar

Majar
Top achievements
Rank 1
 answered on 03 May 2019
3 answers
2.7K+ views
Hi,

I am trying to get a report like this:

Group A
GroupB.1 item1 item2
                item3 item4
GroupB.2 item5 item6
                item7 item8

For this, I have a group and inside the detail section a table which has a binding DataSource =ReportItem.DataObject. But the row grouping seems to be not working. When I give the same data source directly to the table though, I get row grouping but without the report grouping. Is there any way to achieve this?
Neli
Telerik team
 answered on 03 May 2019
3 answers
570 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
539 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
    99 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
    418 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.1K+ 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.5K+ 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
    123 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
    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?