문제

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