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

Modal Popup Window returning Collection to parent Page

1 Answer 171 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 24 Sep 2009, 04:53 PM

Hello All,

I'm using Telerik's RadWindow/Ajax mechanism for creating Modal Popup
Window. Both Parent and Popup are in separate aspx files and in their own Windows.

I would like to reterieve Data in Modal Popup Window and then return back user's
selecteion from RadGrid into parent Window when Popup is closed.

I have tried Post and changing PostBackUrl and using e.g.
ViewState as transform mechanism but that didn't solve the problem because when
Popup Window was opened using Telerik's Ajax/Javascript methods it needed 
something else to be closed too. Otherwise Popup Window stayed into screen.

I found a sample from Telerik
http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx
which used plain Javascript/Ajax? to two windows communication.

So if anyone has any ideas how to transfer data in Collection between to Windows and
especially back I from Modal child Windows I would be glad to here about then.

I know that my approach to this problem might not be the right one so, please give me some detailed information
if you have solved same kind of situation.

Best to All,

Michael

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 26 Sep 2009, 07:49 AM
Hello Mike,

I believe that the following KB article will be of help:
http://www.telerik.com/support/kb/aspnet-ajax/grid/passing-data-to-parent-page-from-radgrid-displayed-in-radwindow.aspx


Kind regards,
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
Mike
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or