This is a migrated thread and some comments may be shown as answers.

PanelBar does not render after updating

3 Answers 218 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 15 Feb 2017, 06:52 PM

I recently upgraded my Kendo libraries to version 2017.1.213 from version 2016.2.812 and my PanelBar will no longer render. I am currently using the datasource formatting as defined here: http://www.telerik.com/forums/kendo-menu-item-click-open-new-window#FWU47PCqfEa5o7OGoNzO8w . I am using this format because I need the target and id attributes on the links which are unavailable with the json format.

Is there a more supported way to do this?

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 16 Feb 2017, 07:27 AM
Hello,

In the latest version we have added support for Local and remote data  binding and templates so you can check them in case some of them is more appropriate for your case.

Yet if something is not working correctly at your side would you please share the exact dojo of the issue so we could inspect it and be more helpful.

Regards,
Plamen
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
James
Top achievements
Rank 1
answered on 16 Feb 2017, 03:19 PM

Hello,

 

I have created a dojo here which is currently using the 2016 Q3 Library. If you switch it to the 2017 Q1 library you will see the panelbar no longer renders.

I have looked at your examples and it does not seem to have the functionality I require. Is there another way to set the "target" attribute of the links through the datasource?

 

Thanks,

James

0
Plamen
Telerik team
answered on 17 Feb 2017, 05:52 AM
Hello,

Thank you for elaborating the issue. 

This unofficial way of adding items with attributes through html to the dataSource is no longer supported because we have added a databinding support to the control. If you want to achieve similar behavior I would rather recommend you to append the items to the control and then initialize the control which will lead to a similar behavior. Here is my test dojo.

Regards,
Plamen
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
PanelBar
Asked by
James
Top achievements
Rank 1
Answers by
Plamen
Telerik team
James
Top achievements
Rank 1
Share this question
or