|
Rank: Newbie Groups: Member
Joined: 1/20/2015 Posts: 4
|
Hi EO Team,
I've looked around the documentation and am not coming up with an obvious solution so am going to here. When we navigate to a non-existent url in the EO WebBrowser we get a simple black on white message that reads "The host name could not be resolved". We would like to replace plain message with a nicer looking web page, maybe more specific to our product, but still showing the error that occurred. Can you give some guidance about how accomplish this task?
Thanks, -Jason
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
You would handle LoadFailed event and then set e.ErrorMessage inside the event handler.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/20/2015 Posts: 4
|
That would allow me to customize the text that shows in the browser, but will this allow me to spruce up the look and feel as well? I envision showing custom html that is inline with our product skinning. Does the e.ErrorMessage accept html? Thanks again.
|
|
Rank: Newbie Groups: Member
Joined: 1/20/2015 Posts: 4
|
Sorry I shouldn't have asked the question without trying it first. It appears that html text in the e.ErrorMessage works just fine. Thank you for your help.
Thanks, -Jason
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
You are very welcome. Please feel free to let us know if you have any more questions.
Thanks!
|
|