Thanks, it works in Internet Explorer 10 vith the latest version.
But I tested with Internet Explorer 7 and got the following error:
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(Stream stream, ImageFormat format)
at ASP.richtexteditor_rtepaint4_drawimage_html4_aspx.OnLoad(EventArgs e) in g:\draghundsport.se\www\richtexteditor\rtepaint4\DrawImage.html4.aspx:line 54
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)