RadPanelBar en Sitefinity 4.0
Hi, i have some trouble implementing panel bar control in Sitefinity 4.0, i used the user control of Sitefinity 3.7 SitePanelBar.aspx but don't work, the code-behind don't recognize the namespace Telerik.CMS. You could show me some example of Panel Bar in the v4.0 of the CMS please.
Hello Jose,
You can use SiteMapDataSource control to bind the RadPanelBar or you can use our fluent api to populate the control. You might find this post useful.
Kind regards,
Ivan Dimitrov
the Telerik team
Hi, i was checking the articles you mentioned before, but i think is more practical use the API methods. But i'm lost. What classes and methods you would suggest me?. Thanks for reply.
Hello Jose,
You can bind the control directly to SiteMapDataSource control. You can bind the control programmatically by using the API. The code below will return you all front end pages
App.WorkWith().Pages().LocatedIn(PageLocation.Frontend).Get(); Then you need to bind the RadPanelBar control to them. In our internal build we implemented additional PageNode properties related to the NodeType
- Group
- External
That you can use when you perform manual binding.
Kind regards,
Ivan Dimitrov
the Telerik team