Base solution for your next web application

Activities of "[email protected]"

thanks maliming. I have fixed it by add the followed statements

{
  "from": " af-ZA",
  "to": "af"
}

or 
set the default language to English by using administration language function.

as well, there is the followed error message. POST http://localhost:22742/signalr/negotiate?enc_auth_token=null 500 (Internal Server Error) customers:1 Access to XMLHttpRequest at 'http://localhost:22742/signalr/negotiate?enc_auth_token=null' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

when trying to login, it pup up the follwed message. It's runing with Angular + dotnetcore.

vendor.js:40419 ERROR Error: Cannot find module './af-ZA.js' at main.js:4208 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (polyfills.js:7141) at Object.onInvoke (vendor.js:42573) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (polyfills.js:7140) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (polyfills.js:6891) at polyfills.js:7625 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (polyfills.js:7174) at Object.onInvokeTask (vendor.js:42564) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (polyfills.js:7173) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (polyfills.js:6941) defaultErrorLogger @ vendor.js:40419 push../node_modules/@angular/core/fesm5/core.js.ErrorHandler.handleError @ vendor.js:40465 (anonymous) @ vendor.js:43172 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ polyfills.js:7141 push../node_modules/zone.js/dist/zone.js.Zone.run @ polyfills.js:6891 push../node_modules/@angular/core/fesm5/core.js.NgZone.runOutsideAngular @ vendor.js:42532 (anonymous) @ vendor.js:43172 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ polyfills.js:7141 onInvoke @ vendor.js:42573 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ polyfills.js:7140 push../node_modules/zone.js/dist/zone.js.Zone.run @ polyfills.js:6891 (anonymous) @ polyfills.js:7625 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ polyfills.js:7174 onInvokeTask @ vendor.js:42564 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask @ polyfills.js:7173 push../node_modules/zone.js/dist/zone.js.Zone.runTask @ polyfills.js:6941 drainMicroTaskQueue @ polyfills.js:7348 Promise.then (async) scheduleMicroTask @ polyfills.js:7331 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ polyfills.js:7163 onScheduleTask @ polyfills.js:7050 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ polyfills.js:7154 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ polyfills.js:6985 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMicroTask @ polyfills.js:7005 scheduleResolveOrReject @ polyfills.js:7615 resolvePromise @ polyfills.js:7561 (anonymous) @ polyfills.js:7477 (anonymous) @ vendor.js:170124 wrappedComplete @ vendor.js:170811 push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub @ vendor.js:170828

Answer

Thanks!

Question

hi,

is there any documentation available to implement the dashboard report for angulat + .net core project? thanks.

Hi ismcagdas,

Here's the TS file for one of the reports:

import { ActivatedRoute } from '@angular/router';
import { Router } from '@angular/router';
import { appModuleAnimation } from '@shared/animations/routerTransition';
import { Http } from '@angular/http';
import { General_ledgersServiceProxy, General_ledgerDto  } from '@shared/service-proxies/service-proxies';
import { NotifyService } from '@abp/notify/notify.service';
import { AppComponentBase } from '@shared/common/app-component-base';
import { TokenAuthServiceProxy } from '@shared/service-proxies/service-proxies';
import { Table } from 'primeng/components/table/table';
import { Paginator } from 'primeng/components/paginator/paginator';
import { LazyLoadEvent } from 'primeng/components/common/lazyloadevent';
import { FileDownloadService } from '@shared/utils/file-download.service';
import * as moment from 'moment';
import { Component, Injector, ViewEncapsulation, ViewChild } from '@angular/core';


@Component({
  selector: 'app-root',
  templateUrl: './reportsmonth.component.html'

})
export class ReportsmonthComponent{

 constructor(
        private router: Router
    ) {}
	
  title = "Report Viewer";
  viewerContainerStyle = {
    position: 'relative',
    width: '1000px',
    height: '800px',
    ['font-family']: 'ms sans serif'
  };
  
  
    changeTexts(startacct:string,endacct:string,periodbegin:string,periodend:string) {
this.router.navigate(['/app/report/reportbymonth'],{queryParams:{periodbegin:startacct,periodend:endacct,periodbdate:periodbegin,periodddate:periodend,id:3}});

  }

  //ready() { console.log('read'); }
  viewerToolTipOpening(e: any, args: any) { console.log('viewerToolTipOpening ' + args.toolTip.text); }
}

Hi there,

I have a noob question in regards to the spinner. My project is Angular 6 + .NET Core. I'm trying to make use of Telerik reporting's REST service in our project. However, whenever I try to go to the function (generated from RAD tool) that loads telerik reports, the spinner loads infinitely. Here is a short clip to demonstrate what I describe: https://youtu.be/SFzufR5XKho

Could anyone point me to the direction on how to get this resolve? Thanks a lot!

how to convert to UTC time zone before submitting to ASP.NET Zero server?

How to get current UserId in asp.net core+angular

I would like to extend existing entities in ASP.NET + Angular. But I can't find the workaround. Do you have any approach? Thanks

Showing 1 to 10 of 10 entries