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

How to change the content of panel bar header

1 Answer 93 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Umesh
Top achievements
Rank 1
Umesh asked on 05 Mar 2014, 05:17 AM
Hi
I am looking for  the solution
for changing content of header on select event of child of previous header. I have attached file in that country and plant is there on select of country (Paris) 
plant(of paris) should load accordingly.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Mar 2014, 11:36 AM
Hello Umesh,

The PanelBar is not the best widget to be used for such a scenario. I recommend you cascading DropDownLists.

http://demos.telerik.com/kendo-ui/web/dropdownlist/cascadingdropdownlist.html

If you insist on using the PanelBar, then subscribe to the widget's select event, check which is the selected item and manipulate the existing items (add, remove), according to your preferences.

http://demos.telerik.com/kendo-ui/web/panelbar/events.html 

http://docs.telerik.com/kendo-ui/api/web/panelbar#events-select

http://demos.telerik.com/kendo-ui/web/panelbar/api.html

Regards,
Dimo
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

Tags
PanelBar
Asked by
Umesh
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or