D
Dylan Nicholson
Hello,
I have an odd problem that only occurs on one machine, running IE 6.0
(latest SP etc.) and Windows Server 2000, .NET 2.0 SP1, whereby
setting the DocumentText property sometimes causes the text to be
interpreted as plain text rather than HTML. That is, after doing:
WebBrowser.DocumentText = new string(' ', 192) + "<html><body>Test</
body></html>"
then checking WebBrowser.DocumentText again, it's now
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8"></
HEAD>
<BODY><PRE>
<html><body>Test</body
></html></PRE></BODY></HTML>
If the initial space padding is only 191 characters, it behaves fine!
There's other cases without this padding where the problem still
occurs, but that's the simplest to explain. I've tried upgrading
everything I can on the problem machine, but it appears to have the
latest of everything, granted that it's an old 2000 server machine.
Anyone seen anything like this before?
Dylan
I have an odd problem that only occurs on one machine, running IE 6.0
(latest SP etc.) and Windows Server 2000, .NET 2.0 SP1, whereby
setting the DocumentText property sometimes causes the text to be
interpreted as plain text rather than HTML. That is, after doing:
WebBrowser.DocumentText = new string(' ', 192) + "<html><body>Test</
body></html>"
then checking WebBrowser.DocumentText again, it's now
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8"></
HEAD>
<BODY><PRE>
<html><body>Test</body
></html></PRE></BODY></HTML>
If the initial space padding is only 191 characters, it behaves fine!
There's other cases without this padding where the problem still
occurs, but that's the simplest to explain. I've tried upgrading
everything I can on the problem machine, but it appears to have the
latest of everything, granted that it's an old 2000 server machine.
Anyone seen anything like this before?
Dylan