How to prevent Kendo Panelbar from collapsing when I click button which is places on the panelbar itself
问题 I have a button which is placed on Kendo Panelbar. I was writing a jQuery function so that when user clicks on the button panelbar does not collapse. Other logic that I put on is that there is no post-back when button is clicked. I can't get this to work. Help appreciated ! :) Here is the code snippet. $("#panelBarCarDetails").kendoPanelBar({ expandMode: "multiple" $('#btnTakeOwnership').click(function (e) { if (e.target) { e.preventDefault(); } }); 回答1: I managed to find a solution for your