N
nagar
I need to copy a piece of HTML to the clipboard. I'm doing this
DataObject clipData = new DataObject();
clipData.SetData(DataFormats.Html, true, html);
Clipboard.SetDataObject(clipData, false);
If I paste, it works fine in any HTML edit box in Internet Explorer
and Chrome but it doesn't work in Firefox. Should I use another
format? What's the problem with it?
Thanks.
Andrea
DataObject clipData = new DataObject();
clipData.SetData(DataFormats.Html, true, html);
Clipboard.SetDataObject(clipData, false);
If I paste, it works fine in any HTML edit box in Internet Explorer
and Chrome but it doesn't work in Firefox. Should I use another
format? What's the problem with it?
Thanks.
Andrea