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
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
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 .
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!
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();
}
});
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
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 )