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

Reload Rad Window after dnnModal is closed

2 Answers 40 Views
Window
This is a migrated thread and some comments may be shown as answers.
Sakshi
Top achievements
Rank 1
Sakshi asked on 05 Mar 2013, 04:44 AM
Hello!

I am in a tricky situation , some one please help!

I have a Rad Window which has content(images and video) and I have a link, when clicked opens dnnModal,

When the link is clicked, and if I decide not to do anything(close the modal), I can avoid refresh of the parent Radwindow by setting the showreturn(5th argument) of dnnModal value to false.

Now if I decide to do something, example change some text on dnnModal window and close, how can I reload/refresh my parent window(RadWindow) to load the updated content.

Any help is greatly appreciated!

Thanks in advance,
Sakshi

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 06 Mar 2013, 03:51 PM
Hi Sakshi,

I am not familiar with the functionality of the dnnModal control, yet you can work with the RadWindow by using its client-side API (http://www.telerik.com/help/aspnet-ajax/window-programming-radwindow-methods.html) - get a reference to it and call its reload() method, for example. Or set a new url via the setUrl() method. Or call a function in the content page as explained here if you need some work done there.


Regards,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Sakshi
Top achievements
Rank 1
answered on 06 Mar 2013, 10:21 PM
Thanks so much Marin.
I will try the Reload() method.


Tags
Window
Asked by
Sakshi
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Sakshi
Top achievements
Rank 1
Share this question
or