Export data to exel from the client machine, using x++

I’m trying to export the content of my gridView to excel, as i’m working with User controls (Visual studio), SharePoint(WSS) and Axapta 2009. I’ve written a custom code in X++ which does it well when I’m on the developing server. But nothing happens when I try to fire the export button from the windows machine . Can you help me fix this problem please?

Thanks.

Hi Osseyi,

Can you share your code?