Telerik Forums
Reporting Forum
1 answer
1.2K+ views

I am attempting to add the Angular Report Viewer to and ASP.NET Zero project.

 

When I add
import { TelerikReportingModule } from '@progress/telerik-angular-report-viewer';
to the app.module.ts

I get the following error when starting the app.
core.js:1601 ERROR TypeError: $.blockUI is not a function
    at Object.abp.ui.block (abp.blockUI.js:20)
    at Object.abp.ui.setBusy (abp.spin.js:47)
    at Array.<anonymous> (root.module.ts:27)
    at ApplicationInitStatus.push../node_modules/@angular/core/fesm5/core.js.ApplicationInitStatus.runInitializers(core.js:3166)
    at core.js:4740
    at _callAndReportToErrorHandler (core.js:4883)
    at core.js:4738
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388)
    at Object.onInvoke (core.js:4071)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:387)

It seems related to this issue, https://support.aspnetzero.com/QA/Questions/6156.

 

Has anyone had any luck getting the angular report viewer working with ASP.NET Zero?

Silviya
Telerik team
 answered on 12 Aug 2019
3 answers
521 views
Hi, I am looking the possibilities of Telerik to make some "Formulas" (Standalone Report designer).

I am not talking about to make a simple "Hello Mr John Smith", but some of my fields in my database need to be "decrypted".

For example (stupid example just to be understandable) if I have a field CarDetails, and the field is made as the following :

<CarModel>;<CarCountry>;<CarYearOfFabrication>...

I need to use Splits, Count() etc... functions. In my case this is for some matrix, I need to know the dimension of the matrix, and make easy calculations between their fields.

Is this kind of stuff possible in Telerik?I am used to Crystal Reports where I do it without problem, but I wish to change to Telerik, if this kind of job is possible

Thanks in advance
Silviya
Telerik team
 answered on 12 Aug 2019
8 answers
1.0K+ views
Hi,

is it possible to create a PDF file from telerik reporting automatically, not export it. I want to create the PDF file with it and save it to the servers disk space, for later usage.

Thanks and best regards,
Thomas
Neli
Telerik team
 answered on 08 Aug 2019
5 answers
1.7K+ views

Hello,

 

I have a question about border style in dynamic table. See atach file. I need border only last row ( border the lower edge of the last dynamic line) Can this be set?

 

 

Adrián Petráš

Ivan Hristov
Telerik team
 answered on 06 Aug 2019
3 answers
117 views
I am using Telerik html5 report viewer on my angular 6 application. Currently the css is downloaded from the web using:
<link href="http://kendo.cdn.telerik.com/2019.1.115/styles/kendo.common.min.css" rel="stylesheet" /> <link href="http://kendo.cdn.telerik.com/2019.1.115/styles/kendo.blueopal.min.css" rel="stylesheet" />
The problem is that my application needs to be offline. How do I accomplish this?
Are there any other actions I need to do in order for it to work offline?
TX Tal
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 05 Aug 2019
3 answers
2.4K+ views
I would like to have every second row with a different style in my table.
I have created the following conditional formatting rules for the two different styles:

Expression: =RowNumber() % 2
Operator: =
Value: 1

Expression: =RowNumber() % 2
Operator: =
Value: 0

The issue is that the values are grouped by the field of the first column, and the RowNumber() function restarts to 1 for each new country value (see the attached screenshot).
Rory
Top achievements
Rank 1
 answered on 05 Aug 2019
1 answer
676 views

I have an application that has an angular 6 client with telerik reporting viewer,and C# api server.
I have created a report with the report designer. the report has 2 dateTime parameters defined like in the picture attached.

Now, I use it in the web service data source like in the other picture.

So far so good.

I update the parameters value from my clients like in the third image.

 

The problem is that when I check the value that is received in my web api has month and days switched so if the day is greater than 12 the parameter value is 1/1/0001. I have tried all sorts of datepipe format changes, with no success.
The problem is solved when I use the toDate and fromDate as string parameters, but is seems like a stupid solution, and that way I can't use the date type abilities like .toShortDateString() in the text box. Any ideas?
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 05 Aug 2019
1 answer
300 views

We need to purchase Telerik Report Server to install at client internal network.

 

The client does not permit internet access

 

Can we install Telerik Report Server with offline install method?

and can we activate its licence offline?

Silviya
Telerik team
 answered on 05 Aug 2019
5 answers
893 views

Hi,

I'm trying to integrate reporting rest service to Winforms Report Viewer

I'm getting the below error during report rendering

An exception has occurred while processing 'table1' item:

System.InvalidOperationException: The data provider of type 'Telerik.Reporting.Processing.WebServiceDataSource.WebServiceDataProvider, Telerik.Reporting.WebServiceDataSource, Version=13.0.19.116, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' defined for data sources of type 'Telerik.Reporting.WebServiceDataSource' cannot be resolved. Are you missing an assembly reference?
   at Telerik.Reporting.Processing.Data.DataProviderFactory.ResolveDataProviderType(Object component, Type baseType, IDataProviderContext dataProviderContext)
   at Telerik.Reporting.Processing.Data.DataProviderFactory.GetDataProviderTypeCached(IDataSource component, IDataProviderContext dataProviderContext)
   at Telerik.Reporting.Processing.Data.DataProviderFactory.Telerik.Reporting.Processing.Data.IDataProviderFactory.Create(IDataSource definition, Object expressionContext, IDataProviderContext dataProviderContext)
   at Telerik.Reporting.Processing.Data.MultidimentionalDataProvider.Execute(MultidimensionalQuery query)
   at Telerik.Reporting.Processing.DataItemResolveDataAlgorithm.GetDataCore(IDataSource dataSource, MultidimensionalQuery query, IServiceProvider serviceProvider, EvalObject expressionContext, IProcessingContext processingContext)
   at Telerik.Reporting.Processing.DataItem.GetDataCore(IDataSource dataSource, MultidimensionalQuery query)
   at Telerik.Reporting.Processing.DataItem.<>c__DisplayClass1.<ResolveData>b__0()
   at Telerik.Reporting.Processing.DataItemResolveDataAlgorithm.ResolveData(String processingId, InMemoryState inMemoryState, MultidimensionalQuery query, Func`1 getDataCore, EvalObject expressionContext)
   at Telerik.Reporting.Processing.DataItem.ResolveData()
   at Telerik.Reporting.Processing.DataItem.ProcessItem()
   at Telerik.Reporting.Processing.Table.ProcessItem()
   at Telerik.Reporting.Processing.ReportItemBase.ProcessElement()
   at Telerik.Reporting.Processing.DataItem.ProcessElement()
   at Telerik.Reporting.Processing.ProcessingElement.Process(IDataMember dataContext)

 

Upon looking into this further i was unable to find the namespace Telerik.Reporting.Processing.WebServiceDataSource.WebServiceDataProvider

Some help would be appreciated

 

ReportsController Code

public class ReportsController : ReportsControllerBase
    {
        protected override Telerik.Reporting.Services.Engine.IReportResolver CreateReportResolver()
        {
            return new ProductReportResolver();
        }

        protected override Telerik.Reporting.Cache.Interfaces.ICache CreateCache()
        {
            return Telerik.Reporting.Services.Engine.CacheFactory.CreateFileCache();
        }

        [HttpPost]
        [ActionName("Parameters")]
        public override HttpResponseMessage GetParameters(string clientID, ClientReportSource reportSource)
        {
            try
            {
                return base.GetParameters(clientID, reportSource);
            }
            catch (Exception ex)
            {
                return null;
            }
        }

        [ActionName("DocumentResources")]
        [HttpGet]
        public override HttpResponseMessage GetResource(string clientID, string instanceID, string documentID, string resourceID)
        {
            try
            {
                return base.GetResource(clientID, instanceID, documentID, resourceID);
            }
            catch (Exception ex)
            {
                return null;
            }
        }

        protected override HttpStatusCode SendMailMessage(MailMessage mailMessage)
        {
            return HttpStatusCode.OK;
        }
    }

 

 

 

 

Silviya
Telerik team
 answered on 05 Aug 2019
1 answer
370 views

Hi, 

I use html reporting and I need to have a filter like this in photo attached, where I can filter through a text. How can I do this from designer?

 

Best regards

 

 

Silviya
Telerik team
 answered on 05 Aug 2019
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?