You guys have any thoughts on how to handle http 404 errors and such?
Our need is to trap these errors and present a more informative response.
I tried tapping into the UrlLoaded event but it seems to only fire once.
We are setting the url source via binding in a View Model.
-Mark
3 Answers, 1 is accepted
0
Valentin.Stoychev
Telerik team
answered on 20 Apr 2010, 02:46 PM
Hi Mark Shaw,
If you mean to handle errors when users are navigating to invalid pages inside the html placehodler this can't be done due to restrictions exposed from the browser. We can't access the html page that is loaded because of thecross-domain frame restrictions.
Best wishes,
Valentin.Stoychev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Ok.. bummer... so there isn't a iframe window loaded event?
If anything... if we could know when the window / iframes loaded event fires then I could scrape the results.
0
Miro Miroslavov
Telerik team
answered on 23 Apr 2010, 08:16 AM
Hello Mark Shaw,
Iframe.loaded (which triggers UrlLoaded) event is fired only once, after that we/you don't have access to the iframe object at all (due to the restrictions mentioned below), so you can't hook any callbacks.
Regards,
Miro Miroslavov
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.