Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser hangs on WebView.LoadUrlAndWait Options
Tank
Posted: Monday, November 17, 2014 4:36:22 AM
Rank: Advanced Member
Groups: Member

Joined: 6/13/2014
Posts: 38
Hi There,

I am navigate to next page using javascript and I am calling native c# function from javascript and passing target page url
and from native c# function I am trying to load url and waiting for it to finish the page loading.
But calling of LoadUrlAndWait hangs the application and I had to restart the whole application every time.

Please suggest if I am doing anything wrong.

Regards,
Ashish
eo_support
Posted: Monday, November 17, 2014 10:23:24 AM
Rank: Administration
Groups: Administration

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

You can not do that. The WebView won't navigate to another page from the middle of a JavaScript call. You need to return from your native C# function to the JavaScript first before you can navigate to another page.

Thanks


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.