Kendo-angular: Can't bind to 'routerLink' since it isn't a known property of 'kendo-panelbar-item'

Created on 7 Mar 2017  Â·  7Comments  Â·  Source: telerik/kendo-angular

Can't bind to 'routerLink' since it isn't a known property of 'kendo-panelbar-item'

my angular2 version is 2.4.8,and the @progress/kendo-angular-layout version is 0.21.5,why?

layout

Most helpful comment

I solved the same issue by adding the RouterModule to the Module that contained the component.

All 7 comments

It seems to be working in this example.

Usually this error means that the LayoutModule is not imported in the app module.

Can you provide a plnkr which demonstrates the error?

Seems like a duplicate of #54

@rusev I am sure that i imported the LayoutModule to the app module,because if i remove the [routerLink] attribute from kendo-panelbar-item ,it works

Please see the Routing demo for reference.

I solved the same issue by adding the RouterModule to the Module that contained the component.

@ORESoftware Good catch: Also note, for anyone coming across this thread, that it is case sensitive: So you would want to use [routerLink] rather than [routerlink]

Was this page helpful?
0 / 5 - 0 ratings