0

we started to develop applications with Lightswitch and we are stuck with an exporting problem.

By default, with an "Export to Excel" button you can popup the whole grid in an excel file.

What I need is to programmatically export the active grid with a button click and save it to a presetted path.

Thanks in advance.

Stylus
  • 89
  • 8

2 Answers2

0

You can export to excel - this http://www.carlosag.net/tools/excelxmlwriter/generator may help. However, force them to save it in a location Im not sure you can, unless your silverlight thing is desktop based.

BugFinder
  • 17,474
  • 4
  • 36
  • 51
0

The source code to a LightSwitch extension for Office is available here: Office Integration Pack. If the existing functionality doesn't suit yuour requiremebnts, you can modify it to do what you want.

Yann Duran
  • 3,842
  • 1
  • 24
  • 24