I guess i have tried everything, hence i thought to get some suggestions. Please help
I am downloading a report from Report server using ReportViewer (SSRS) on button click event using the below standard code
returnValue = ReportViewer.ServerReport.Render(format, deviceinfo, out mimeType, out encoding, out extension, out streams, out warnings);
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.ContentType = mimeType;
HttpContext.Current.Response.AddHeader("content-disposition", "attachment; filename=" + filename + "." + format);
HttpContext.Current.Response.BinaryWrite(returnValue);
HttpContext.Current.Response.Flush();
HttpContext.Current.Response.End();
I need to be able to give the user feedback to wait until the file downloads. Tried a couple of things by putting button inside or outside update panel, but no luck ...
Go to the complete details ...