I am exporting a gridview to excel, using .Net 4.0 in a web application, on page load and need for the file to be generated and then the page to be redirected to the calling
You can't do both open so you might want to try setting the link to the generated xls file in a new window or as source to a iframe