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

Child window closing on auto refresh of parent

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tarun Jain
Top achievements
Rank 1
Tarun Jain asked on 03 Dec 2013, 12:03 PM

Hi,
I am having grid autorefresh issue. I am using telerik grid and i use a timer to auto refresh [using Ajax - Ajaxify Timer]. If we open a child window [radWindow] from parent-  On Auto refresh of parent, Child Window gets closed. Can somebody help me to do the auto refresh of parent grid without closing child window.


Thanks!
Tarun

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 06 Dec 2013, 01:12 PM
Hello Tarun,

I managed to replicate similar behavior when RadWindow is placed in an Ajax-ified container.

If you would like to have the content of RadWindow control Ajax-enabled you need to place an Ajax-ified container in its ContentTemplate. This wrapping container could be RadAjaxPanel, UpdatePanel or regular Panel control added to the RadAjaxManager settings. An example with UpdatePanel control is shown in this article.

I am also attaching a sample project illustrating how Timer could be used to update a RadGrid control and RadWindow is kept open between updates. You need to click a button to open the window. The Interval is set to 3 seconds.

Regards,
Viktor Tachev
Telerik
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 the blog feed now.
Tags
Grid
Asked by
Tarun Jain
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or