This question is locked. New answers and comments are not allowed.
Hi There,
I'm working with the mvc panelbar and i would like to disable/ turn off the collapse behaviour like in this example
http://demos.telerik.com/aspnet-mvc/razor/panelbar/clientsideapi
When a user click on the header the first time it expends if the user click again on the same header the panel does not collapse.
I would like what the best way to implement that because i tried this
and it's not really nice cause i can see the panel collapse and then expand.
I'm working with the mvc panelbar and i would like to disable/ turn off the collapse behaviour like in this example
http://demos.telerik.com/aspnet-mvc/razor/panelbar/clientsideapi
When a user click on the header the first time it expends if the user click again on the same header the panel does not collapse.
I would like what the best way to implement that because i tried this
function onCollapse(e) { var item = $(e.item); var panel = $("#EmploymentCompensationPanelBar").data("tPanelBar"); var item = $("li:first", panel.element)[0]; //DOM element panel.expand(item); }
and it's not really nice cause i can see the panel collapse and then expand.