There isn't a universal way to do this. Once the main page is navigated to another URL it is up to the browser to start disposing the old page, so usually you can't rely on content from it. What I can suggest is two different options:
- create a hidden div (e.g. centered on the page) that will show the message. Also add a function that will show it and call that just before you redirect the browser. You could also add an anchor there and set it to the URL you redirect to so that the user can click that if it takes too long to load the page or the browser does not allow such redirects.
- create this message div in the RadWindow and show it in the RadWindow. You can probably do this in the server code by toggling the VIsible property of the given panel and the rest of the page. Then leave the browser to dispose the page when it can, without closing the RadWIndow. This will keep the message visible as long as the page is not disposed and the RadWindow will be closed by the fact that the page is disposed.
& sPayPal &
and the div:
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed