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

Expand mode not working in MVC project (.cshtml file)

3 Answers 88 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 30 May 2014, 07:43 PM
I've created an accordion style panel bar system in a View in an MVC project. I tried to set the expand mode to "single", but all of the panel bars load as automatically expanded and refuse to collapse/expand--not to mention ignore the "single" expandMode command. I've attempted the exact same code in jsfiddle with all the kendo css/js files and it works fine. Can someone please explain how to get around this bug? Thank you!

3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 03 Jun 2014, 12:05 PM
Hi Chris,

I have tried to reproduce the issue in a sample MVC project, but to no avail. I have attached it in this response, please check it out and let me know if I missed something.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Chris
Top achievements
Rank 1
answered on 03 Jun 2014, 01:06 PM
Hi Kiril,

Thank you for your response. I was originally using pure html and css to approach this, but maybe utilizing the Html.Kendo() functionality will make a difference in catching my mistake. I will give this a whirl. Thanks again!
0
Kiril Nikolov
Telerik team
answered on 03 Jun 2014, 01:09 PM
Hello Chris,

It should not make much difference between the Kendo UI MVC wrappers and the pure JavaScript initialization, but give it a try and if the problem still persists, please get back to us.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
PanelBar
Asked by
Chris
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Chris
Top achievements
Rank 1
Share this question
or