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

Radwindow not disappearing when user navigates back and forth using the brwoser back button

1 Answer 66 Views
Window
This is a migrated thread and some comments may be shown as answers.
Shri
Top achievements
Rank 1
Shri asked on 18 Jun 2010, 04:33 PM
Hello,

I have  a very simple problem but not able to find a proper solution.

I want to use Radwindow control to show an error message (let us say an error page, as  radwindow does not allow you to write your cutom text). I have inserted the Radwindow control on the page, when the page loads it shows me the RadWindow control with the page loaded inside it (url that I passed to it) and I can close the window.

Now if I move from my main page to a different page and then using the browser back button come to this page the RadWindow appears again there. Same thing happens with RadDock and all other popup message, part of RadWindowManager like RadConfirm, RadAlert etc..

I want RadWindow to behave some thing like this: when the page first time loads then show the RadWindow and once the user has clicked on the close button then the RadWindow no longer remain a part of the page unless the page is requested again from the server itself.

Thanks for your help.
Sky

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 22 Jun 2010, 02:00 PM
Hello Sky,

If you are opening RadWindow from the server (VIsibleOnPageLoad=true), this behavior is expected. When you navigate away from your parent page and then click the Back button, there is no trip to the server - the browser simply loads the cached state of the previous page. You will experience this behavior with any other control (for example you can try setting some text to a label).
To avoid that, I suggest to open the RadWindow control from the client by using the client-side API.

Kind regards,
Georgi Tunev
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
Tags
Window
Asked by
Shri
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or