Several Error in type AppComponent

0 Answers 279 Views
.NET 5 Report Viewer - Angular
Azman
Top achievements
Rank 1
Azman asked on 20 Dec 2021, 07:45 AM

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.

Dimitar
Telerik team
commented on 22 Dec 2021, 03:56 PM

The errors may mean that there are no such properties(ready and viewerToolTipOpening) in your AppComponent class.

I will attach the example AppComponent from our demos, you may use it as a reference to check what you are missing/have not defined correctly. The demo itself can be found in the installation directory of Telerik Reporting > Examples > Angular > CLI

Azman
Top achievements
Rank 1
commented on 23 Dec 2021, 04:51 AM

Ahh I see. Already solved. Thankyou 

No answers yet. Maybe you can help?

Tags
.NET 5 Report Viewer - Angular
Asked by
Azman
Top achievements
Rank 1
Share this question
or