Hi,
I have a problem when I try to print report in controller. The thing is; it is working locally but when I deploy the project to iss I am getting error message says; "System.InvalidOperationException: No or invalid printer error on IIS server."
// Obtain the settings of the default printer
System.Drawing.Printing.PrinterSettings printerSettings
= new System.Drawing.Printing.PrinterSettings();
// The standard print controller comes with no UI
System.Drawing.Printing.PrintController standardPrintController =
new System.Drawing.Printing.StandardPrintController();
// Print the report using the custom print controller
Telerik.Reporting.Processing.ReportProcessor reportProcessor
= new Telerik.Reporting.Processing.ReportProcessor();
reportProcessor.PrintController = standardPrintController;
Telerik.Reporting.TypeReportSource typeReportSource =
new Telerik.Reporting.TypeReportSource();
//// reportName is the Assembly Qualified Name of the report
//typeReportSource.TypeName = reportName;
// Create a new report source pointing to report definition
var reportSource = new UriReportSource();
reportSource.Uri = entity.ReportName;
foreach (var i in entity.Parameters)
{
reportSource.Parameters.Add(new Parameter(i.Key, i.Value));
}
reportProcessor.PrintReport(reportSource, printerSettings);
return null;
Please suggest,
Thanks
Hi guys,
I have deleted the header row of a table by mistake and now the function with print on every page is not working obviously.
Is it possible to delcare a 'normal' row as the header? Or a function to add a new header row?
I cant find any functionality to this.
But it would be really much work to build the table new from scrap.
Also I think I will still have a problem. I have the following situation:
I have the situation where I need the GroupHeaders and GroupFooters on every page.
Not just the ColumnHeaders. I don't know if this is possible.
Greetings
Benedikt
Hai, I want to use Telerik embedded with Angular in project development. I already try following precisely steps below :
https://www.telerik.com/blogs/embedding-beautiful-reporting-angular-applications
However, it seems several error had popup when i try to run the angular. The error are as shown :
Build at: 2021-12-20T07:08:01.911Z - Hash: c9bbf7e71573f59f - Time: 6282ms
Error: src/app/app.component.html:11:10 - error TS2339: Property 'ready' does not exist on type 'AppComponent'.
11 [ready]="ready"
~~~~~
src/app/app.component.ts:6:16
6 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
Error: src/app/app.component.html:12:25 - error TS2339: Property 'viewerToolTipOpening' does not exist on type 'AppComponent'.
12 [viewerToolTipOpening]="viewerToolTipOpening"
~~~~~~~~~~~~~~~~~~~~
src/app/app.component.ts:6:16
6 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
× Failed to compile.
Can somebody help me? Thank you.
Dear Telerik support team,
Is Telerik using any Log4j as a logging tool? Please kindly confirm this to us. Thanks
Hi,
My mentor wants me to set pre configured data sources on every report so the users who are manipulating it don't need to add the same data sources everytime.
Furthermore, I would need to disable the data sources buttons as well but I already found workarounds for it here. On the other hand I am wondering if there is a better solution since at the bottom of the post there is a text which says:
Note that experienced users can look through the raw HTML and find the hidden DIV tag. But until the Web Designer gets the added features of customizing the UI, this is the closest solution.
Thanks a lot in advance.
UPDATE: actual post title:
sorry for inconvenience
In the aftermath of the Log4J security breach, we need to be sure that all vulnerable components are patched.
I guess there are no Java components and hence not Log4J involved in any of Telerik's components, but can this please be confirmed?
In standalone designer, R3 2021.
I have a table being displayed as shown below.
How do I get the time cell for second row to be the same size as the treatment text?
The detail section and both cell height parameters are all the same