Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser.WebView.LoadHtmlAndWait Depricated? Options
GDargan
Posted: Saturday, August 8, 2015 2:40:34 PM
Rank: Member
Groups: Member

Joined: 8/8/2015
Posts: 12
Hi All,

It looks as though WebView.LoadHtmlAndWait is depricated?

If so, what is the recommended way to handle loading and html string and waiting for it to load? Also, I am using the WebView with a ThreadRunner (no UI case).

Thanks.
eo_support
Posted: Monday, August 10, 2015 2:10:15 PM
Rank: Administration
Groups: Administration

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

LoadHtmlAndWait should still be there:

http://www.essentialobjects.com/doc/eo.webbrowser.webview.loadhtmlandwait.aspx

Alternatively, you can use

Code: C#
LoadHtml(your_html).WaitOne();


Please let us know if you still have any questions.

Thanks!
GDargan
Posted: Wednesday, August 12, 2015 5:07:31 PM
Rank: Member
Groups: Member

Joined: 8/8/2015
Posts: 12
Am I missing something here? I am getting an Intellisense error: "'EO.WebBrowser.WebView' does not contain a definition for LoadHtmlAndWait and no extension..."

I am including EO.WebBrowser. Other WebView methods are working fine.

eo_support
Posted: Thursday, August 13, 2015 5:07:18 PM
Rank: Administration
Groups: Administration

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

Make sure you use the latest build. This function did not exist in earlier versions.

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.