Hi, All
I have a project where I display MHTML files. This works fine in IE 8, but in firefox and google chrome it asks for the users to download. I do not want this, as in IE 8 it displays it fine inside a web control. Is there anyway around this ?.
My code I am using is below for the control.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CCWordMht
{
[DefaultProperty("FilePath")]
[ToolboxData("<{0}:ShowWordMht runat=server></{0}:ShowWordMht>")]
public class ShowWordMht : WebControl
{
#region "Declarations"
private string mFilePath;
#endregion
#region "Properties"
[Category("Source File")]
[Browsable(true) ...
Go to the complete details ...