Problems with exporting to excel

Hi all,
I’m trying to add “export to excel” in my web app.

I’ve added two buttons, one forn db export and one for export to excel.

The db export works fine but the “export to excel” button, when pressed, doesn’t work. Nothing happens.

What is the problem? I’ve attached my demo folder.



I can’t attach. The server returns an error.

Here my zipped folder. … sp=sharing