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

Close Window and Reload Parent(but just in specific situations)

1 Answer 43 Views
Window
This is a migrated thread and some comments may be shown as answers.
iomega 55
Top achievements
Rank 1
iomega 55 asked on 02 Dec 2009, 06:22 AM
I open a RadWindow(child), but just for specific cases I need to reload the parent window(opener) when I close the child window, so how do I need to configure the child Radwindow, when I close it I can check for some parameter or configuration defined at the moment I opened it, and if that parameter or configuration exists I can call a reload of the opener window.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Dec 2009, 06:36 AM
Hi iomega 55,

I believe that the Using RadWindow as a Dialog help article will be of help - there you can see how to send arguments to the parent page and check them in the OnClientClose function. Depending on the argument that is received, you could execute window.location.href=window.location.href in order to reload the page.



Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
iomega 55
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or