Hi People,
I'm using UltraGridExcelExporter to export a grid to excel. I give two arguments to it, the Grid and the location, Is there a way to let the user select the location to export the grid? I'm expecting something like the SaveFileDialog in Windows. Thanks in advance.
Regards,
Sandeep T C
Sandeep,
There is nothing built into the exporter to handle this, but there is the SaveFileDialog component that you can use to choose the file name:
private void button1_Click(object sender, EventArgs e){ if (DialogResult.OK == this.saveFileDialog1.ShowDialog(this)) { this.ultraGridExcelExporter1.Export(this.ultraGrid1, this.saveFileDialog1.FileName); }}
-Matt
Thanks Matt.