Well I really wonder How it works on your system? did you uncheck the option for the file type which you downloading?:-D because there are lot of file types and one has to set the confirm option for each type individually. Anyhow thanks for your help, I have used the \r\n at end of file, but it did not work for contenttype application/vnd.ms-excel, but if I change the content type to unknown like xxx/xxx or application/x-msdownload then it works with \r\n at the end of file:laugh:, but in this case I faced another problem, -- IE show the file type as unknown -- does not open optin (just give save and cancel option which is good) -- in save dialog set the aspx file name as default name without ext (i want it to set the origianl excel filename as default) -- on clicking ok, save the file as unknow file type -- but on double clicking the saved file, file opens in excel ;P:confused: I am working on it to set the default name and type, lets c if i get any success. further help is highly appreciated:-D -----