Rank: Advanced Member Groups: Member
Joined: 12/30/2013 Posts: 68
|
If the user cannot connect to the website, an error message "A connection attempt was refused." is displayed. How can I stop that message from appearing? I already have an "oops" page local that appears, but the message still appears on my page.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
You can change that message. But you can not stop that message. To change that message, handle the WebView's LoadFailed event and set the event argument's ErrorMessage property.
The "connection attempt was refused" and your "opps" page on the server are two totally different things. The former occurs when the browser engine can't make a collection to your server at all; The later is your browser has a perfectly normal connection with the server but the server can't find what the browser is asking for.
Thanks
|
Rank: Advanced Member Groups: Member
Joined: 12/30/2013 Posts: 68
|
Perfect, thank you
|