Occurs when executing the ExportController.ExportAction. Allows you to customize the default name of the file to which data is exported.
The CustomGetDefaultFileName event handler receives an argument of the CustomGetDefaultFileNameEventArgs type. The following properties provide information specific to this event.
|FileName||Specifies the name of the file to which data is exported.|
By default, a file name is generated from the caption of the List View from which data is currently exported. Handle this event to provide a custom file name. To get or set the file name to be used by ExportCotnroller, use the event handler's CustomGetDefaultFileNameEventArgs.FileName parameter.
Refer to the How to: Customize the Export Action Behavior topic, to see an example of handling this event.