none
how to savetohttpstream without the dialog box from IE RRS feed

All replies

  • Try this excel third party tool, and add dll to your program.

    There is another way to meet your requirement, please refer to the code below:

    Workbook wb = new Workbook();
    wb.LoadFromFile(@"D:\Document\Sample.xlsx", ExcelVersion.Version2010);
    //wb.SaveToHttpResponse(@"D:\Download\4283.xlsx", Response);
    MemoryStream ms = new MemoryStream();
    wb.SaveToStream(ms,FileFormat.Version2010);
    File.WriteAllBytes(@"D:\Download\4283.xlsx", ms.ToArray());

    Thursday, April 30, 2015 2:24 AM
  • Hi how do i open this to the browser if am saving it to the server?
    Thursday, April 30, 2015 2:26 AM
  • That's impossible.

    Because all operations are finished on the server, and the generated file are created on the server too. You can not open the document on the server and display it in the browser.
    Thursday, April 30, 2015 2:27 AM
  • Hi Ulyadam,

    Is the suggestion provided by floraaa helpful?

    Sine this issue is more realtive to IE settings, I also would like to move it to IE forum to get more effectve response.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.

    Thanks for your understanding.

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, May 1, 2015 1:53 AM
  • Hi does anyone know how to open/save an xls right from the browser without a dialog box from IE (open, save, saveas)?

    f12>Debug tab, all resource files are listed in the dropdown on the rhs... you select the file you want and then copy and paste it into a text editor to save it to a folder location.

    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to raise a question, it's highly recommended you head on over to http://answers.microsoft.com/en-us


    Rob^_^

    Saturday, May 2, 2015 4:10 AM