Pb wedbbrowser in wm6 .... and wm5

I have a problem with the webbrowser control in the compact framework.

I use the DocumentText property to create an html form that contains javascript but the script no longer gets executed when running on a WM6 device. I've been using the same code on WM5 for nearly two years without any problems.

an example would be:

webBrowser1.DocumentText ="<script language='javascript'>alert('test');</script>";

On wm5 the alert fires but not wm6. It's interesting to note the script works in wm6 if a write it to a file and load into the browser control.

Is this a bug somewhere? or tighter security in WM6?

[787 byte] By [JasonCarden] at [2008-1-9]
# 1

I have the same with a QTEK TyTn on WM6 and with other PDA in WM5 but not all of them

I don't know if it's a security patch ...

I've made a html page with the same code in pocket ie it doesn't work even.

It's seems that the javascipt code is not accepted ....

If anybody have a solution ....

thanks

xlhostis at 2007-10-3 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 2

I have the same problem on qtek tytn on wm6, and on other pda on wm5 , i think it's a security patch

but i don't know how to resolve this problem.

I've made a hrml page with the same javascript code and it doesn't work even ....

If anybody have a solution ....

xlhostis at 2007-10-3 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...