|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 137
|
Hello there,
I want to speed up my application and i'm looking for a way to pre-load webview without affecting the user experience.
So is there a proper way to load an invisible webview and then attach it to a Window ?
For the moment I have a working prototype but it feel hacky :
I attach a webview to a window with top = 9999, So the user can't see webviews inside it preload fine.
But i'd like to only load webview and then attach it instead of preloading a whole window.
Best regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, The proper way of pre-loading a WebView is to create a WebView through a ThreadRunner object: http://www.essentialobjects.com/doc/webbrowser/start/webview_no_ui.aspxThanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/10/2014 Posts: 137
|
Thanks for the reply,
I understand that, but at some point I need to show the webview in a WPF window; And the only way I found is by using a EO.WebBrowser.Wpf.WebControl using it's webview attribute; But doing so i'll create a blank/useless webview when invoking WebControl.
Hope you understand what i'm trying to do here.
Regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
In that case what you are doing is fine. We do not have an explicit interface for you to pre-loading something.
Thanks!
|
|