Google SubramanyamRaju Xamarin & Windows App Dev Tutorials
Showing posts with label WebView. Show all posts
Showing posts with label WebView. Show all posts

Friday, 13 March 2020

Xamarin.Forms: How to identify website link broken or not reachable in Webview (C# - Xaml)

Introduction:
We know that WebView is a view for displaying web and HTML content in your app. Due to security, sometimes website links will not work with outside network, so we need to identify it to show custom dialog to user. 

Thursday, 5 March 2020

Xamarin.Forms: how to prevent to open specific Url links from WebView (C# - Xaml)

Introduction:
We know that WebView is a view for displaying web and HTML content in your app. Due to security, sometimes we may need to restrict to open specific urls in our app. 

Wednesday, 6 January 2016

Windows Store Apps : How to communicate with C# code from WebBrowser javascript and vice versa, beginners tutorials (C#-XAML)

Introduction:

In previous article I wrote an article about silverlight windows phone and which can explain you about 'Communication between C# code and WebBrowser html content'. In this article we can learn how to do same thing in WinRT windows phone platform

Silverlight WindowsPhone : How to communicate with C# code from WebBrowser javascript and vice versa, beginners tutorials (C#-XAML)

Introduction:

We can use WebBrowser control in silverlight windows phone(8.0 &8.1) for displaying html content, and so some times we may need to communicate windows phone native code (C#) from webbrowser html content.
For example, lets assume there is one html button in webbrowser content, and when clicking on html button we need to navigate to another windows phone native page. Which means we need to trigger windowsphone native program(i.e, C# code) from javascript function and then navigate to another page.

Also from this article we can learn how to call javascript function from windows phone C# code.

Windows Store Apps: How to load local html file in WebView control, beginners tutorials (C#-XAML)

Introduction:

Some times we may need to load local html file in webview, and fortunately we can easily load html file in window phone (in both silverlight & winrt). However this article will explain how to load local html file in WinRT WebView control using different ways :)
Search Engine Submission - AddMe