With the code above i am able to export to Word, but neither EXCEL nor CSV

Excel document generated has has javascript and some binary characters



DefaultPage
</title><link id="ctl02"...