|
Rank: Member Groups: Member
Joined: 2/10/2014 Posts: 17
|
Hello,
As mentioned earlier, we are moving from old to new version of EO Browser. For accelerating web page display within our application, we used to create three browser instances pointing to an URL and used to show them quickly on UI.
With the latest version, it looks like it is no longer supported. Can you please help us?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, The "official" way to support hidden WebView is to use the ThreadRunner object: http://www.essentialobjects.com/doc/webbrowser/start/webview_no_ui.aspxThanks!
|
|
Rank: Member Groups: Member
Joined: 2/10/2014 Posts: 17
|
Hello,
Thanks for your swift reply.
We have already tried the sample you mentioned. How to use the webview which is created in a thread to the main thread and show the contents of the web page? A sample code would be highly appreciated.
Thanks,
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Sorry I didn't understand your original question correctly. I thought you meant to create WebView in the worker thread. You should still be able to do what you were doing with the old version, even though it may no longer be necessary because the new version loads faster than the old version. We didn't remove any support on this in the new version though. Specifically which feature are you looking for and why do you think it was removed?
Thanks!
|
|
Rank: Member Groups: Member
Joined: 2/10/2014 Posts: 17
|
Hi,
In our application, we are showing a Javascript based UI which takes around 6-7 seconds to load. We wanted to optimize this. So, on application launch, we were creating browser controls and accessing the required URL, keeping the browser control in hidden mode. When we have to show that, we will show already created browser control immediately. This is fairly quick, as all the javascript files are downloaded and are ready.
With the latest version, when we tried it, our application hangs at WebView.Create(handle). We are guessing that this is happening as the control is in hidden mode.
Basically, the WebView control is on a Form and we are hiding the Form. We are using WebView.loadURL.
Do you have any alternative options for this implementation?
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, This looks like a bug, we did not change anything regarding this intentionally. Can you send a small test project to us so that we can take a look? See here for instructions on how to send test project to us: http://www.essentialobjects.com/forum/test_project.aspxAs mentioned earlier, the new version loads faster than the old version. So you may also want to try without such code and see if it is fast enough for you. Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have just posted a new build. Please test whether this build works for you. We did verify the new build with your test project here and it works fine here.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 2/10/2014 Posts: 17
|
Thanks a lot for the fix. It is working fine now. We are now integrating it to our production code and will get back to you if we find any issues.
Wishes,
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Great. Thanks for confirming the fix!
|
|