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

Event Page_Load not firing

1 Answer 132 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ashvin
Top achievements
Rank 1
Ashvin asked on 14 Aug 2008, 09:03 AM
Hi Telerik Team,

I have an issue with Rad Window. When I click on a link on my default page which opens a Rad Window (Has a break point on Page_Load event), everything works fine. If I Click the Top Right X to close the Rad Window and click the link on the default page to re open the Rad Window, the Page_Load event of the RadWindow does not fire at that time.
How do I solve this

Regards
Ashvin

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 14 Aug 2008, 03:27 PM
Hello Ashvin,

By design when RadWindow is closed, it is not destroyed but remain hidden on the page - this is done in order to provide the caching of the dialogs. If you want to load a new RadWindow every time, I suggest either to set DestroyOnClose to true (note that in this case you will not be able to open that same RadWindow again, so you might need to set the properties dynamically or set them directly in the RadWindowManager) or as an alternative - to set ReloadOnShow to true - this will force the content page to reload every time it is shown.



Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Ashvin
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or