Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
DownloadName does not preserve '_' in the file name.


I have a strange problem, when I specify a DownloadName that contains '_' character it gets stripped out when the excel document has been generated and presented for download. Also the character length is limited.

exp1.DownloadName = "Control_Acceso_Denegado_" & String.Format("{0:yyyyMMddHHmmss}", DateTime.Now) & ".xls"


The following DownloadName returns: ControlAccesoDenegado20091113.XLS

Is this a bug?