Welcome Guest Search | Active Topics | Sign In | Register

WebView behave different in Sample (TabBrowser) than my app Options
achirinos
Posted: Friday, May 18, 2018 10:42:50 AM
Rank: Newbie
Groups: Member

Joined: 5/18/2018
Posts: 2
Hi,

I'm testing sample app TabbedBrowser and WebView behave different that in an app where I'm using WebContro.WebView directly from XAML

I'm using webView to load a page (javascript + html video control + video render events) this happens to work OK in your sample. But when I put together a WebView control in my xaml page it just doesn't work throwing a NotAllowed Error Message.

I'm trying to dissect your sample app but I have not found anything different yet. Is there any configuration I'm missing any advance configuration?

Regards,
Asd
eo_support
Posted: Friday, May 18, 2018 10:52:46 AM
Rank: Administration
Groups: Administration

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

This most likely is because you did not handle this event:

https://www.essentialobjects.com/doc/eo.webbrowser.webview.requestpermissions.aspx

You can take a look of the sample source code to see how to handle this event.

Thanks!
achirinos
Posted: Friday, May 18, 2018 5:06:17 PM
Rank: Newbie
Groups: Member

Joined: 5/18/2018
Posts: 2
It was exactly that!

Thanks!
eo_support
Posted: Friday, May 18, 2018 6:43:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,080
You are welcome. Please feel free to let us know if you have any more questions.


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.