404 Errors

4 posts, 0 answers
  1. Mark Shaw
    Mark Shaw avatar
    11 posts
    Member since:
    Feb 2010

    Posted 20 Apr 2010 Link to this post

    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
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 20 Apr 2010 Link to this post

    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.
  3. DevCraft banner
  4. Mark Shaw
    Mark Shaw avatar
    11 posts
    Member since:
    Feb 2010

    Posted 20 Apr 2010 Link to this post

    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.
  5. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 23 Apr 2010 Link to this post

    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.
Back to Top