This is the expected behavior of an iframe - it tends to cache the content that was previously in it. When you reuse the same RadWindow you are only changing the iframe's src, therefore you can use the backspace key to navigate in it. I prepared the following list with suggestions and information for your, please examine it and see which is most suitable for your scenario:
- you can set the ShowContentDuringLoad property to false and a loading sign will appear over the RadWIndow;s contents until the page is laoded. This will alleviate the old content being shown, yet it cannot take care of the Back functionality of the iframe
- You can set the DestroyOnClose property to true and really open a new window each time. What it seems now is that you use two windows and thus you get the same behavior after the second. What you need to do is create a fresh instance of the RadWindow each time it is opened. This is done by passing null
as the window name to radopen. More information on the approach is available in this help article
. If you need to set some specific properties for it which you cannot set via the RadWindowManager you can use the RadWindow's client-side API
to do so after you open it.
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