Radgrid CSV Export

0 Answers 108 Views
Grid
Lee
Top achievements
Rank 1
Iron
Lee asked on 27 Oct 2023, 11:10 AM

When exporting to a CSV file the download works as expected with the delimiter set to comma. Once the delimiter is changed to any other value, i.e. Semicolon, Vertical bar the file opens in the browser window instead of downloading. 

Is there a way to initiate the download instead of opening the file in a browser window? 

Rumen
Telerik team
commented on 01 Nov 2023, 07:54 AM | edited

Hi Lee, 

I tried to replicate the issue but without success. For your convenience, I prepared a runnable ASP.NET website project with the latest version which demonstrates how to export the CSV file and download it regardless of the chosen delimiter.

Also, make sure that the ExportSettings OpenInNewWindow setting is set to true.

RadGrid.ExportSettings.OpenInNewWindow = true;

<ExportSettings OpenInNewWindow="true">
    <CsvSettings ... />
</ExportSettings>
Lee
Top achievements
Rank 1
Iron
commented on 01 Nov 2023, 10:42 AM

Thanks Rumen, I see I put this in the wrong forum, it should be in UI for ASP.NET AJAX. Do I need to resubmit it or can we transfer this to the AJAX forum? 
Rumen
Telerik team
commented on 01 Nov 2023, 10:45 AM

No worries, I've updated the forum and not it is in the correct location :)

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Lee
Top achievements
Rank 1
Iron
Share this question
or