Telerik Forums
Reporting Forum
1 answer
974 views

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
        },
    };

 

Silviya
Telerik team
 answered on 13 Aug 2018
0 answers
152 views

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.

 

Veeru
Top achievements
Rank 1
 asked on 13 Aug 2018
1 answer
132 views

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,

Silviya
Telerik team
 answered on 13 Aug 2018
6 answers
1.1K+ views

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.

Silviya
Telerik team
 answered on 10 Aug 2018
1 answer
141 views

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

Silviya
Telerik team
 answered on 10 Aug 2018
2 answers
332 views
I have tables which are all based on the same datasource and are filtered based on the record details section the table is in. How can I hide these tables if they are empty? The empty styles appear to work based on the whole data source and not the whether the actual table is empty. I potentially do not have any knowledge of the filter applied to the table by the report designer, so I can't recreate any filters programatically to check that way. Is there any functionality to simply check the number of rows in a table after the report has applied its filters?
Karl
Top achievements
Rank 1
 answered on 10 Aug 2018
5 answers
371 views
Hi,

I've created a new Sample Solution for Bulk Sending Invoice PDFs as E-Mail Attachment with C# Command Line Application.
Check out the Link:

http://webapps-in-action.com/post/Creating-Invoices-as-PDF-E-Mail-Attachment-with-Telerik-Reporting-2013Q2-using-only-66-lines-of-code

Cheers, Otto.
JOSE
Top achievements
Rank 1
 answered on 09 Aug 2018
1 answer
249 views

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.

 

Silviya
Telerik team
 answered on 09 Aug 2018
3 answers
553 views

Hi,

I'm trying to generate a report with two columns using the approach you guys provided here (https://www.telerik.com/support/kb/reporting/details/how-to-create-multi-column-report---across-the-page-and-then-down).

It's working just fine except when the data return odd number of records. When that happens, the list component generates an extra but empty item (see attach).

I tried to filter but there's no data to be filtered. I tried bindings (visibility) and yet nothing.

Could you help me?

Thanks!

William
Top achievements
Rank 2
 answered on 08 Aug 2018
1 answer
228 views

I am working on a report that consists of a table of values. I have used HTML text boxes in the table as my data is stored in HTML format.

When running the report, it mostly works. However, since the HTML box can't handle embedded image files, I will receive an error for that one cell in the table. This causes the report to expand greatly and push data to other pages.

Is there an expression that can be run to test the value to see if Telerik can render it first? Like an If Error() expression.

 

Brian
Top achievements
Rank 1
 answered on 08 Aug 2018
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?