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

4 posts, 0 answers
  1. Chris
    Chris avatar
    7 posts
    Member since:
    Jan 2012

    Posted 30 May 2014 Link to this post

    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!
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 03 Jun 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Chris
    Chris avatar
    7 posts
    Member since:
    Jan 2012

    Posted 03 Jun 2014 in reply to Kiril Nikolov Link to this post

    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!
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 03 Jun 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready