Handling external page errors on RadWindow

2 posts, 0 answers
  1. Simon
    Simon avatar
    3 posts
    Member since:
    Jul 2010

    Posted 19 Nov 2010 Link to this post


    My application loads external links in a radwindow and I would like to show a custom error message rather than the standard page based on error messages. I was wondering how this could be accomplished using Radwindows. I dont see any obvious events i could use.

    The error messages could possibly be based on HTTP standard response codes.

  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 22 Nov 2010 Link to this post

    Hello Simon,

    I don't think this is possible. Basically, when RadWindow is opening pages, different from the parent one, it is using an IFRAME. Because the content and parent page are different, the communication between them is handled on the client. Now, the main problem here is that when you have a content page in an IFRAME, you can get (using JavaScript) only the initial page that is loaded in that IFRAME. If the user then navigate the content page (e.g. clicks on a link in that content page that transfers him to another one), you cannot get the new Url from the IFRAME.
    I might be wrong of course, but what I can say for sure that if the logic that you implement works fine when you use IFRAME instead of a RadWindow, the same logic will work with RadWindow as well.

    Sincerely yours,
    Georgi Tunev
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top