Welcome Guest Search | Active Topics | Sign In | Register

How to list all WebViews Options
Yannou
Posted: Tuesday, December 16, 2014 8:54:40 AM
Rank: Member
Groups: Member

Joined: 7/28/2014
Posts: 10
Hello,

i'm looking for a way to find all current opened webviews; is there any way to get a List<WebView> ?
I have some WebView that doesn't close and we need to investigate why!

Regards
eo_support
Posted: Tuesday, December 16, 2014 9:31:50 AM
Rank: Administration
Groups: Administration

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

Currently there is no way for you to do that through our interface. You will need to write code to track all WebViews that you have created. You can handle the WebView's Closed event to remove a WebView from your list to keep your list updated.

Thanks!
Eurice
Posted: Tuesday, December 16, 2014 10:57:41 AM
Rank: Advanced Member
Groups: Member

Joined: 12/10/2014
Posts: 133
Hello,
It would be a cool feature, plus I suppose you already have something similar for the inspector/debugger.
eo_support
Posted: Tuesday, December 16, 2014 11:03:43 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Eurice wrote:
Hello,
It would be a cool feature, plus I suppose you already have something similar for the inspector/debugger.


Yes. EO.WebBrowser already supports remote debugging:

http://www.essentialobjects.com/doc/6/advanced/remote_debug.aspx

Thanks!
Eurice
Posted: Tuesday, December 16, 2014 11:15:08 AM
Rank: Advanced Member
Groups: Member

Joined: 12/10/2014
Posts: 133
Sorry you didn't understood what I meant;
I mean you probably already have a similar function wich list all active webview in the debugger;
and it would be really cool to have a function like that.


We are facing a problem, some rundll32.exe remains even after calling webview.close() and we need to list all active webview in order to force-close them.


Regards
eo_support
Posted: Tuesday, December 16, 2014 6:12:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Sorry about misunderstanding your question. The remote debugger feature is provided by Chrome's engine. We do not have any plan to introduce anything to track WebView since WebView is just an object for you to use, so it is generally the programmer's responsibility to track the number of WebViews, just a string object doesn't really keep track of how many strings you have.

If you believe there is a problem with the WebView that's causing some rundll32.exe remains even if the WebView is closed, you can try to isolate the problem into a test project and send us the test project. We will be happy to take a look as soon as we receive that. Please see test project guideline here:

http://www.essentialobjects.com/forum/test_project.aspx

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.