Hi, I'm too newer in Telerik Reporting, and I not have idea to when make a ReportViewer or Telerik.Reporting.Report, I have an example works fine, is a report with 2 parameter, and I can see it on screen or sent to printer, now I want to sent it to user mail, without interaction of user, how I can do this? I'm work in WPF with VS2013, annexed my code:
in XAML:
<tr:ReportViewer Name="ReportViewer1" Width="800" Height="500" >
<tr:ReportViewer.ReportSource>
<telerikReporting:TypeReportSource TypeName="ReportLibrary, ReportLibrary" />
</tr:ReportViewer.ReportSource>
</tr:ReportViewer>
in .cs:
var TRS = new TypeReportSource();
TRS.TypeName = typeof(pgoRelacionCobranza).AssemblyQualifiedName;
ReportViewer1.ReportSource = TRS;
FechaIni = dpFechaIni.SelectedDate.Value.Day.ToString() +"/" + dpFechaIni.SelectedDate.Value.Month.ToString() + "/" + dpFechaIni.SelectedDate.Value.Year.ToString();
FechaFin = dpFechaFin.SelectedDate.Value.Day.ToString() + "/" + dpFechaFin.SelectedDate.Value.Month.ToString() + "/" + dpFechaFin.SelectedDate.Value.Year.ToString();
var TRS = new TypeReportSource();
TRS.TypeName = typeof(pgoRelacionCobranza).AssemblyQualifiedName;
TRS.Parameters.Add(new Telerik.Reporting.Parameter("pFechaIni", FechaIni));
TRS.Parameters.Add(new Telerik.Reporting.Parameter("pFechaFin", FechaFin));
ReportViewer1.ReportSource = TRS;
if (rbPantalla.IsChecked == true)
{
ReportViewer1.RefreshReport();
stkReportView.Visibility = System.Windows.Visibility.Visible;
}
else
{
System.Windows.Forms.PrintDialog printDlg = new System.Windows.Forms.PrintDialog();
printDlg.AllowSomePages = true;
printDlg.AllowCurrentPage = false;
printDlg.UseEXDialog = true;
DialogResult result = printDlg.ShowDialog();
// If the result is OK then print the document.
if (result == DialogResult.OK)
{
ReportProcessor reportProcessor = new ReportProcessor();
reportProcessor.PrintReport(TRS, printDlg.PrinterSettings);
}
}
I would like to add a custom button to the HTML 5 Report Viewer's toolbar. Is there an example of how to accomplish this?
So far I have managed to create a functional custom button by adding a link to the template with a new data-command attribute, and then adding a new command to the report viewer object (see below).
This works, and my custom command's exec() function is called when the button is clicked and the enabled() method returns true. However, the issue I'm having is that I do not know how to get the new button to appear in a disabled state. I expected the button to appear disabled when the emailReport command's enabled() call returns false, but this is not the case. Am I going about this the right way, or is there a better way to accomplish this?
Thanks!
<
a
title
=
"Email Report"
href
=
"#"
data-command
=
"telerik_ReportViewer_emailReport"
><
i
class
=
"fa fa-envelope"
></
i
>
this
.reportViewer.commands.emailReport = {
enabled: () => {
// todo
return
false
;
},
checked: () => {
// todo
return
false
;
},
exec: () => {
// todo
},
};
Hi,
We are using Telerik reporting to generate "Code128" barcode. If we use actual size to generate the barcode, we are able to scan it. If we are trying to reduce the size of barcode using "Module" property, it is not scannable.
Hi,
Is it possible to change HTML 5 report viewer loading yellow box to custome message. and if Yes, Please can you provide an example of making it read for example.
Hope to hear from some soon.
Regards,
I am completely new to Telerik and am trying the Telerik Reporting module. I have read the documentation several times but am still confused as to how to proceed.
I am developing an Angular 5 web application using Visual Studio 2017 and I want to display a report. The web application was created using the Angular SPA Template (ASP.Net Core SPA Templates) and resides in its own Project. I have created a new ReportLibrary Project and following the wizard I defined my first report using the Visual Studio Report Designer. When I preview the report the data is displayed fine.
Within our web application we have developed our own Web API with controllers communicating via repositories to our SQL database and passing data, defined in DTOs, back to the Angular client.
It appears I have to add a new Reporting REST Service Project to my Solution, which I did using the wizard, however when I build the project I get many reference errors.
What I cannot figure out is what to do next to display a report in my Angular web application? I have added the imports to my Angular Reporting Module and created an Angular component to display the report using the code from your 'How To' guide. Within the Report Viewer selector I see I have to configure the report source to display, the example code points to a .trdp file, my report, in my Report Library, appears to be a .cs file.
Some guidance would be very appreciated please.
Hi All ,
we have two web servers, with f5 to manage the calls between these two web servers. so we call the web servers through f5 as round robin way. The telerick reporting generate an instance id for each session and under each session there are many clients, and the instance ID generated for the first call in the session. so If the instance ID created in the web server 1. so if the requests directed to web server 2 it returns an error the instance id is expired but if the requests directed to web server 1 it works. so we need to make the instance ID is shared between the two web servers.
I change the Telerik instance timeout configuration to be an hour instead of 15 minutes. also I make the cashing is File and make an shared folder for both servers. but still we have the same issue.
Can Any one help me to fix issue
We have created a template with tables in the group label section. Now when the value of these tables is extended to multiple pages we are missing the columns in the rendered pdf. Please have a look at the attached pdf output for further info. Can you please suggest us a way to fix it and let us know why is it happening.