I have buttons that on click open several pages in webview. I have the option "FollowLinks" enabled. And WebView.CanGoBack

My question is. How "NOT" to open the default error page when there is no connection or the page was not found?

有帮助吗?

解决方案

Before using the webviewer, you can check for internet connection with the web component and the Screen.ErrorOccurred event, see this example.

While using the webviewer you can't check that. Therefore the default error page will be shown. Also if the page was not found, you will get the defined 404 page not found error page from the server.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top