Hello,
I have a simple grid that works fine. MVC 5 project. jquery read only grid. I added one line only to the grid definition - "toolbar: ["pdf"],":
function createHoldingsTable() {
$("#gridHoldings").kendoGrid({
toolbar: ["pdf"],
height: 600,
resizable: true,
sortable: true,
scrollable: true,
dataSource: {
data: holdingsData
The holdingsData is json array that populated by drop-down control on the web page. When I click on PDF button then one PDF report generated per a click and that's is expected. Close it and click again - one PDF generated with the same content. If I choose another value in the drop-down box, the grid updated fine and displays new content. PDF button will now generate two PDFs, one have old (for first drop-down value) and another with new content. Changing the drop-down value third time will produce three reports.
I've checked the javascripts and they included ones:
<script src="/Scripts/jquery.unobtrusive-ajax.min.js"></script><script src="/Scripts/jquery.validate.js"></script>
<script src="/Scripts/jquery.validate.unobtrusive.js"></script>
<script src="/Scripts/kendo/2018.2.516/kendo.all.min.js"></script>
<script src="/Scripts/kendo/2018.2.516/kendo.aspnetmvc.min.js"></script>
<script src="/Scripts/modernizr-2.8.3.js"></script>
What I am doing wrong? Where my problem could be?
Thanks.