This is a migrated thread and some comments may be shown as answers.

Handling external page errors on RadWindow

1 Answer 62 Views
Window
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 19 Nov 2010, 05:28 PM

Hi,

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.

TIA 

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 22 Nov 2010, 08:51 AM
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.
Tags
Window
Asked by
Simon
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or