I found some threads that discuss about the reload mainpage (opener) but I want to refresh the mainpage of radwindow before radwindow closing.
Anybody can help?
Thanks in advance,
-Toi
3 Answers, 1 is accepted
0
Georgi Tunev
Telerik team
answered on 06 Feb 2009, 01:26 PM
Hi Toi,
If you refresh the page by reloading it, RadWindow, just like any other dynamically created element on it, will be destroyed. If you want to avoid that, you could update only the part that you need on the parent page by using Ajax.
You can check the following demo that shows this approach. There we call a function from within RadWindow that updates RadGrid with RadAjax:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid
More information on RadAjax's client-side API is available here:
http://www.telerik.com/help/aspnet-ajax/ajxclientsideapi.html
Sincerely yours,
Georgi Tunev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I already checked the demo but what I need is how can I close the radwindow after the update the section(via ajax) on parent finishing.
Thanks,
-Toi
0
Georgi Tunev
Telerik team
answered on 10 Feb 2009, 07:23 AM
Hi Toi,
If you are using RadAjax / RadAjaxManager, you could use the OnResponseEnd. There you can get a reference to the RadWindow and call its close() method.
Greetings,
Georgi Tunev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.