I'm trying to present mht file dynamically , the process is as follows:
the mht file is being stored in a database and retrieved to a string,
page a.aspx has an iframe which source is - b.mht , the request for b.mht is being handled by my http handler which uses ProcessRequest on PageParser.GetCompiledPageInstance (b.mht) , the code behind b.mht is b.aspxc , in b.aspxc the code contains the following lines:
Page.Response.ContentType="message/rfc822";
Page.Response.BinaryWrite(arrres);
arrres type is byte[] and it holds the mht string mentioned above , by using getbytes.
this works on explorer 6.0.2600 but not in 6.0.2800.
the mht file is being stored in a database and retrieved to a string,
page a.aspx has an iframe which source is - b.mht , the request for b.mht is being handled by my http handler which uses ProcessRequest on PageParser.GetCompiledPageInstance (b.mht) , the code behind b.mht is b.aspxc , in b.aspxc the code contains the following lines:
Page.Response.ContentType="message/rfc822";
Page.Response.BinaryWrite(arrres);
arrres type is byte[] and it holds the mht string mentioned above , by using getbytes.
this works on explorer 6.0.2600 but not in 6.0.2800.