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

2 posts, 0 answers
  1. Shri
    Shri avatar
    1 posts
    Member since:
    Jun 2010

    Posted 18 Jun 2010 Link to this post


    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.
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 22 Jun 2010 Link to this post

    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
Back to Top