Posted on: 5/9/2014 8:35:51 PM | Views : 448

Hi, Can anyone please tell me how can I get loaded kendo grid data to code behind file variable? And load the grid data to csv or excel file. I am not using MVC, I tried doing this in front end, but couldnot download the file in chrome. The page is getting crashed while downloading the file.
var uri = 'data:text/csv;charset=utf-8,' + escape(CSV); var link = document.createElement("a"); link.href = uri; link.style = "visibility:hidden"; link.download = fileName + ".csv"; document.body.appendChild(link); link.click(); document.body.removeChild(link); Is there something wrong with the code.

Any help appreciated!!!
Thanks!

Go to the complete details ...