Export changes blanks in file name to plus sign in IE

2 posts, 0 answers
  1. Diane Wilson
    Diane Wilson avatar
    1 posts
    Member since:
    Jul 2012

    Posted 27 Jul 2017 Link to this post

    We have RadGrids configured to export to CSV, Excel, or PDF. The file names are explicitly set in GridExportSettings.FileName based on grid content, such as "Patient Status Choices". In IE11, this file name is changed by replacing blanks with plus signs, e.g., "Patient+Status+Choices". This does not happen in Edge or Chrome.

    Is there a way to get IE to export using the file name exactly as we specify?

  2. Vessy
    Admin
    Vessy avatar
    2240 posts

    Posted 01 Aug 2017 Link to this post

    Hi Diane,

    The experienced issue is related to a browser behavior that, unfortunately, cannot be controlled by us. Even if the filename is encoded before the file creation, the browser parses the spaces in the file name as plus signs. This issue and possible workarounds for it are discussed in the following SO thread, so you can take a look and see if any of the suggestions is applicable to your scenario:
    https://stackoverflow.com/questions/1561533/why-does-httputility-urlencodehttputility-urldecode20-return-instead-of

    Regards,
    Vessy
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top