Hi anyone,
I have a problem with picture box, I put a url of a png file in picture box, but it always gives 403 error every time I when try to call renderReport function of ReportProcessor class.
Everything still works fine on Report designer, does anyone know how to fix this, i am using version 16.1.22.511.
Thank you.
Son
Has anyone tried to append a pdf page when a report is generated or printed, is there any solution to this issue?
I have project in WinUI3 and I want to append a pre-existing pdf to the report, not in the footer but at the last page, is the there a way of achieving this without 3rd party libraries?
Hi
Using telerik report in react, showing report in Report Viewer and all fine.
Now need to get the PDF (inline, not download) of this report from Report Viewer programmatically. (Not in backend). Is there is a way to get the PDF.
I can download PDF using viewer.current.commands.export.exec("PDF"); but i need to get pdf contents. (need to upload to azure blob)
Also when we export PDF manually, ReportViewer calls the CreateDocument endpoint [HttpPost("clients/{clientID}/instances/{instanceID}/documents")]
to get the document id. and then uses clientid, instanceid and documentid to get pdf.
In react how can we get the client id and instanceid from Report Viewer.
Thanks
Hello all!
I have what feels like a very simple example of using 2 cascading parameters in a report. The first parameter is loaded with no issue but come time for the second, I get a "Response status code does not indicate success: 400 (Bad Request)".
I notice in the REST service call that it is passing hasChildParameters as false. I don't see an option to set that as true.
I've found when I run the download in designer with matching values that are expected in the parameter it retrieves without issue. This is purely a runtime issue.
Here are a few screenshots of what I have setup. Any advice is appreciated.
Controller Method
FromBody model object
BaseReportParameter
Hello,
I have an WebAssembly blazor project and I am trying to display a report in a Telerik HTML5 ReportViewer Page. I am not even sure if what i'm trying to accomplish can be done. Can u give me some example/idea to process this one to be done, how I can display report byte to web viewer?
Any help or tips or direction will be apreciated
Thank you
Rezus
hi,
I want to display a report book with the .trbp suffix in the ReportViewer component of Telerik UI For Blazor, but when I assign the ReportSource, it prompts that it cannot be converted from Telerik.Reporting.UriReportSource to Telerik.ReportViewer.Blazor.ReportSourceOptions. Is there any specific case reference?
ReportViewer.razor code::
<ReportViewer ViewerId="rv1"
ServiceUrl="API/Reports"
ReportSource="@BookReportSource"
Parameters="@(new ParametersOptions { Editors = new EditorsOptions { MultiSelect = EditorType.ComboBox, SingleSelect = EditorType.ComboBox } })"
ScaleMode="@ScaleMode"
ViewMode="@ViewMode"
PageMode="PageMode.SinglePage" />
public object BookReportSource { get; set; } = new Telerik.Reporting.UriReportSource()
{
Uri = $"{ReportParameters.ReportName}.trbp"
};
protected override Task OnParametersSetAsync()
{
switch (ReportParameters.ReportName)
{
case nameof(Report.StaffCapitalisationRatioReport):
BookReportSource.Parameters.Add("StartDate", ReportParameters.StartDate);
BookReportSource.Parameters.Add("EndDate", ReportParameters.EndDate);
BookReportSource.Parameters.Add("BusinessUnit", ReportParameters.BusinessUnit);
BookReportSource.Parameters.Add("FormatDate", Convert.ToDateTime(ReportParameters.EndDate).ToString("yyyy / MMMM"));
BookReportSource.Parameters.Add("StaffNo", ReportParameters.StaffNo);
BookReportSource.Parameters.Add("NormalWeekdayHours", ReportParameters.NormalWeekdayHours);
BookReportSource.Parameters.Add("NormalWeekendHours", ReportParameters.NormalWeekendHours);
break;
}
return base.OnParametersSetAsync();
}
I have created a REST Report Service in my .Net 8 MVC Project in Visual Studio. I can set Multiple Startup Projects and launch the debugger in Visual Studio, and everything works fine.
I will eventually need to have this REST service running on my IIS Server in production, but for now, I am attempting to get it working on IIS on my Windows 11 machine.
I created a new REST Service using the Telerik template:
After creating the project, I launched the debugger, and the project launched a browser to http://localhost:59655/index.html with the message Telerik Reporting REST Service is up and running.
Still in Visual Studio, I have published the REST Service to a folder using the following settings:
In IIS, I create a new Site and App Pool with No Managed Code like my other .Net Core apps. I set the bindings to Port 59655 as it does in Visual Studio (not sure if this is necessary, or the wrong thing to do) but when I try to browse to http://localhost:59655/index.html, it gives the error: No webpage was found for the web address: https://localhost:59655.
If I bind to HTTP instead of HTTPS, then I get the error: This site can’t provide a secure connection.
So my question is, should I be using this port on IIS? What other settings must I change when publishing the app to a folder? There are settings in the launchSettings.json file that apply to IIS Express, so I don't think those apply.
I really have to figure this out before I attempt to deploy this to production, but I'm not really sure how to run the service with IIS.
Thanks for any help in advance.
Hello Telerik Support Team,
I am experiencing an issue with a report generated from a database in my desktop application developed in C#. I am using Visual Studio 2015 with .NET Framework 4.0 and Telerik Reporting version R1 2017 SP2 (11.0.17.406).
Below is a description of the observed behavior:
Additionally, I have noticed that the hyperlinks appear misaligned in some machines running Windows 11. Interestingly, on some devices with the same version of Windows, the behavior is correct, and the images load appropriately.
I would like to know if there is any solution or adjustment I can make to ensure that the images load correctly when selecting each hyperlink and to resolve the hyperlink alignment issue.
Thank you in advance for your assistance.