Actually, we use the TR-Viewer. But can you call the serviceURL REST API telerik report to print directly on a local printer?
In the same way to download automatically the PDF result of a report?
Currently, I have two different parameters. One uses Fields.ID the other needs to use Field.ID2 However, using the code below. I am unable to rename ID to ID2. If I use ID It modifies Parameter1's ID field instead of Parameter2's ID field. I need to use dual union to be able to select all employees but when I run it with the "AS" command for renaming ID to ID2 it errors out(see below code). If I run it without the dual union. It works and renames ID to ID2. But, then I do not have the ability to select all employees which I need. How can I fix this in the report designer? is there a better way or am I using my code wrong, what would be a good solution to this?
How can I get this to work and rename ID to ID2 for the second source using the code below so that I can still use the dual union?
[Doesn't work]
SELECT TO_NCHAR('All Employees') AS FirstName, TO_NCHAR('*') AS LastName, 0 AS ID FROM DUAL
UNION
select FirstName, LastName, ID AS ID2
FROM Personnel
ORDER BY LastName NULLS FIRST
[Works]
select FirstName, LastName, ID AS ID2
FROM Personnel
ORDER BY LastName NULLS FIRST
Thank you!
I'm trying to implement Telerik web report designer to blazer .NET MAUI hybrid app, and it keep giving above mentioned error when I try to view the created. report. But I have already add Cors to the app.
{
ReportingEngineConfiguration = sp.GetService<IConfiguration>(),
HostAppId = "newcumstomreportAPI",
Storage = new FileStorage(),
ReportSourceResolver = new UriReportSourceResolver(
Path.Combine(Environment.CurrentDirectory, "Reports"))
});
builder.Services.AddSingleton<IReportDesignerServiceConfiguration>(sp => new ReportDesignerServiceConfiguration
{
DefinitionStorage = new FileDefinitionStorage(Path.Combine(Environment.CurrentDirectory, "Reports")),
SettingsStorage = new FileSettingsStorage(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Telerik Reporting")),
ResourceStorage = new ResourceStorage(Path.Combine(Environment.CurrentDirectory, "Resources"))
});
builder.Services.AddCors();
var app = builder.Build();
app.UseStaticFiles();
//app.UseCors(MyAllowSpecificOrigins);
app.UseCors(builder =>
builder.WithOrigins("*")
.AllowAnyHeader()
.AllowAnyMethod()
);
app.UseRouting();
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
});
Is it possible to add web report designer to Blazor Hybrid?
Hi guys
I created a small Blazor WebAssembly (ASP.NET Core hosted) application to test out your ReportViewer. I have a Razor page with the following code:
@page "/"
@using Telerik.ReportViewer.Blazor
<style>
.trv-report-viewer {
width: 1300px;
height: 880px;
}
</style>
<button type="button" @onclick="LoadReport">Load Report</button>
<ReportViewer @ref="reportViewer1"
ViewerId="rv1"
ServiceUrl="/api/reports/"
ScaleMode="@(ScaleMode.Specific)"
Scale="1.0"
ViewMode="@(ViewMode.Interactive)"
EnableAccessibility="true"/>
@code {
ReportViewer reportViewer1;
Dictionary<string, object> parameters;
private async void LoadReport()
{
parameters = new Dictionary<string, object>()
{
{ "TextboxValue", "My Testvalue" }
};
reportViewer1.ReportSource = new ReportSourceOptions()
{
Report = "TestReport.trdp",
Parameters = parameters
};
await reportViewer1.RefreshReportAsync();
}
}
builder.Services.TryAddSingleton<IReportServiceConfiguration>(sp => new ReportServiceConfiguration
{
ReportingEngineConfiguration = sp.GetService<IConfiguration>(),
HostAppId = "ReportingTest.Server",
Storage = new FileStorage(),
ReportSourceResolver = new TypeReportSourceResolver().AddFallbackResolver(new UriReportSourceResolver(reportsPath))
});
We are getting an error "A StartDocPrinter call was not issued" when running reports at one of our customers. I want to believe this is a printer/os issue and not a Telerik reporting issue, as we have not seen this at other customers.
TIA for any input.
Good Afternoon Telerik Forums,
I have a MainData (SQLDataSource) a (Tech1DataSource) and a (Tech2DataSource).
I have 4 parameters currently. From Date(start date), To Date(end date), Tech1IDParameter, Tech2IDParameter.
If I remove Tech2IDParameter- the report loads fine without an error. However, when I add in Tech2IDParameter (pointing to Tech2DataSource) I get the error below.
Tech1IDParameter and Tech2IDParameter are virtually identical in the settings and parameter fields except for what they query. Any help would be greatly appreciated! Please see the error below.
Unable to get report parameters.
An error has occurred.
Cannot evaluate parameter 'Tech2IDParameter'.
Hi,
Recently, my customers often report a problem when accessing report reviewer (see attachment Error1.jpg). I inspected and found out that the problem is the error when registering the client with reporting service. I try to re-produce the issue by using Postman and it happens but not frequently (see attachment Error2.jpg). Sometimes it happens, sometimes not. I cannot figure out the cause.
Please help!
I would like to design some reports in my visual studio project using Telerik Reporting.
While I can basically create the report object, I am unable to bind data from my project dataset to the report. All attempts to bind data source present many data sources (SQL server, JSON, etc.) that are not my aim. I just what to use predefined tables, queries from my project dataset the same way I use them in the forms. My project dataset is a MS Access database.
Hello,
We are currently running a .net application for a client that is reliant on a previous Telerik version.
Would it be possible for us to get the installer for this specific version? My Progress Control panel won't give any other versions to be installed than the latest and that won't come in question but we need this spesific version mentioned below
I've added screenshot from Progress Control Panel which doesn't show but the latest version and not previous.
Thank you in advance
The version in question:
Telerik Reporting - Progress® Telerik® Reporting R2 2020 (14.1.20.513)
Best regards,
Mika Nieminen
reportsource is not available to configure if using .Net core version of TelerikReportDesinger
to test, just choose the reportsource option and nothing happens, not being possible to define.
follow screen demonstrating how to reproduce. the following dialog used to set is not displayed. Only in the .net core version does this happen.