Mime Type for MHT Export

pinbotpinbot Texas
edited 4:30AM in FastReport .NET
I'm trying to export to a memory stream and then display in the browser as an MHT export.

I can do PDF exports with no problem.

What is the mime type/content disposition for MHT files?

TIA,

Bryan

Comments

  • pinbotpinbot Texas
    edited 4:30AM

    Also, I can do HTML export just fine too but the pictures don't show up so I was trying as a MHT export to embed the pictures in the page.
  • edited 4:30AM
    It is exported in web mode as "application/mht".
  • pinbotpinbot Texas
    edited 4:30AM

    I found that if I do:

    Response.ContentType = "multipart/related; type=\"text/html\";";
    Response.AddHeader("Content-Disposition", "inline;filename=propinfo.mht");


    It works VERY well.

    Thanks.



Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.