Welcome Guest Search | Active Topics | Sign In | Register

Why sometimes has been WebView1.CanEvalScript=False, what is the reason? Options
kevin_ll
Posted: Saturday, September 17, 2016 5:22:42 AM
Rank: Member
Groups: Member

Joined: 12/10/2015
Posts: 17
Why sometimes has been WebView1.CanEvalScript=False, what is the reason?
eo_support
Posted: Saturday, September 17, 2016 2:29:59 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

There are various different reasons. One of the most common scenario for CanEvalScript to be false is a script call is currently in progress. Due to JavaScript's threading model, it can not be be re-entered. So while a previous JavaScript call is in progress, another one can not started (it can be queued), in that case CanEvalScript will be false.

Thanks!
kevin_ll
Posted: Saturday, September 17, 2016 10:05:27 PM
Rank: Member
Groups: Member

Joined: 12/10/2015
Posts: 17
Thanks support.
I might have performed the wrong JS code


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.