FileExplorer comma character in Chrome

2 posts, 0 answers
  1. Kjell
    Kjell avatar
    203 posts
    Member since:
    May 2011

    Posted 20 Feb 2015 Link to this post

    Problem to using the comma in the file name in Google Chrome. I have "ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION"
    How can I solve it?
    No problem using the comma in Explorer, Firefox or Safari......
  2. Kjell
    Kjell avatar
    203 posts
    Member since:
    May 2011

    Posted 22 Feb 2015 in reply to Kjell Link to this post

    I solved the problem by changing the Handler.ashx

    Change:
    response.AddHeader("content-disposition", "attachment; filename=" + fileName);
    to:
    response.AddHeader("Content-Disposition", "attachment;filename=" + '"' + fileName + '"');
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top