Hi,
Our project is huge, so I wanted to avoid making an example if possible - and wondered if anyone had an idea about this:
The problem is that you can enable whatever columns you want. Hit export and it will export fine. If you then go back to the grid (without refreshing), and add or remove columns from the view, then export again - the export is the SAME as the original export. So no changes were made.
The export is triggered by a button firing the event and is handled by:
Configure export just sets the standard settings like:
Hopefully someone knows about this.
Cheers in advance.
Our project is huge, so I wanted to avoid making an example if possible - and wondered if anyone had an idea about this:
The problem is that you can enable whatever columns you want. Hit export and it will export fine. If you then go back to the grid (without refreshing), and add or remove columns from the view, then export again - the export is the SAME as the original export. So no changes were made.
The export is triggered by a button firing the event and is handled by:
protected
void
ExportCSVButton_Click(
object
sender, EventArgs e)
{
ConfigureExport();
RadGrid1.MasterTableView.ExportToCSV();
}
Configure export just sets the standard settings like:
RadGrid1.ExportSettings.IgnorePaging =
true
;
RadGrid1.ExportSettings.FileName = GridID +
"_Export_"
+ DateTime.Now.ToShortDateString();
RadGrid1.ExportSettings.OpenInNewWindow =
true
;
RadGrid1.AllowFilteringByColumn =
false
;
RadGrid1.MasterTableView.AllowFilteringByColumn =
false
;
Hopefully someone knows about this.
Cheers in advance.