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

[Solved] RadWindow - Fake Browser history in firefox

1 Answer 135 Views
Window
This is a migrated thread and some comments may be shown as answers.
ricky
Top achievements
Rank 1
ricky asked on 03 Jan 2008, 11:46 PM
I have a RadWindow on my page with "DestroyOnClose" set to true. When I browse to this page via FireFox and close this RadWindow, the browser creates a history entry with the url of the current page. If I turn off "DestroyOnClose" then things are fine. When using IE, it won't create those fake history entry and everything is fine.

Is there a fix to this?

- Ricky

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 08 Jan 2008, 12:28 PM
Hi Ricky,

Actually this history item is not fake. When DestroyOnClose is set to true, the RadWindow object's will be destroyed when the window is closed. To be destroyed properly, it is mandatory to execute the onunload event for the content page. This is achieved by changing the src attribute of the content page. When the src is changed, the browser creates a history event.

At this point we cannot tell why IE doesn't include this event in its history, however in any case this isn't something that we can control from our side - this behavior is handled entirely by the browser itself.



Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
ricky
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or