I have a download link in my page, to a file I generate by the user request. Now I want to display the file size, so the browser can display how much is left to download. As
Try HttpContext.Current.Response.AppendHeader("Content-Length", contentLength);
HttpContext.Current.Response.AppendHeader("Content-Length", contentLength);