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

Refreshing Opener window

3 Answers 62 Views
Window
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 28 Jul 2009, 11:01 AM
I have a page and a button when clicked it opens the first RadWindow. Inside this Radwindow, I have also a button that openes the second RadWindow.

How can I refresh the first RadWindow, when an action is made inside the second RadWindow?

I can't get an instance of the first RadWindow.

Any help would be much appreciated.

Thanks

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 28 Jul 2009, 11:22 AM
Hi Joseph,

I suggest to examine the Returning Values from a Dialog demo that shows how to call functions between RadWindows. There you can see how to get a reference to a specific RadWindow via the main page (where the RadWindowManager is).


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Joseph
Top achievements
Rank 1
answered on 28 Jul 2009, 11:54 AM
Hi Georgi Tunev,

Thanks for the link. 

My issue is that the RadWindowManager isn't available in the opener page ( which is an iframe ) in the main page. The RaWindowmanager is located in the main page.

So when calling GetRadWindowManager() method, it will return undefined.

Without the RadWindowmanager I can't refresh the first RadWindow.


0
Georgi Tunev
Telerik team
answered on 29 Jul 2009, 08:49 AM
Hi Joseph,

Basically if the RadWindowManager is in the topmost page, you could access it by using top.GetRadWindowManager().
RadWindow however, exists only in the context of the page from which it is created so I am not quite sure what do you mean by "RadWindowManager isn't available in the opener page".

In any case, to be able to help, I need to get a better view over your exact setup and logic. Please open a support ticket and send me a small sample project that reproduces the setup and the problem itself - I will check it right away.


Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Joseph
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Joseph
Top achievements
Rank 1
Share this question
or