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

Communication between parent window and RadWindow.

3 Answers 237 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 26 Jan 2009, 08:17 PM
Hello,

I am new to using the telerik controls and need some input from the experts. I need suggestions on making the control go back and forth between the parent window and the opened rad window.

The scenario is as follows.

1. In the Parent window, i have a dropdown list. Based on the selection of the item, in the button click event, a dynamic radWindow is to be opened. -- was able to do it.
2. In the RadWindow, there is a "Save" button which causes some db transcations and the RadWindow is to be closed. -- was able to do it
3. The control should go back into the buttonclick event where the radWindow originated from or someother method in the parent page and continue from there. -- dont know how to come back to an event/method in the parent window.

How do i accomplish this. Is this feasible?. Please explain in detail. Thanks for your help in advance.

-Saleha.

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 27 Jan 2009, 11:49 AM
Hello Saleha,

I suggest to check the following demo where a similar to your logic is being used:
http://demos.telerik.com/aspnet-ajax/Controls/Examples/Integration/GridAndWindow/DefaultCS.aspx?product=grid

In the demo, there is a JavaScript function on the parent page (refreshGrid()) that uses RadAjaxManager's client-side API and makes an ajaxRequest to the server where the data is processed and the grid is bound again. The refreshGrid() function itself is called from within the RadWindow's content page, but it can be hooked to the OnClientClose eventhandler of the RadWindow so it is executed every time the RadWindow is closed.


Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rochelle Velasquez
Top achievements
Rank 1
answered on 04 Dec 2012, 09:12 PM
Hello there,

We are having a problem with the solution provided on Safari for iPad iOS 6.0.1.
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid

When the radwindow pops up the first time, it works, but the second time, it doesn't works the same way.  Either you click it many times or expand and click to make it pop up.

Is this a known issue? Any workaround or fix?

Thanks.

Regards,

Rochelle
0
Marin Bratanov
Telerik team
answered on 06 Dec 2012, 03:27 PM
Hello Rochelle,

The demo seems to be working fine with me and I could not observe any usability issues under iPad - the RadWIndows open each time, either with a double tap on the row, or by clicking the Edit hyperlink. If your page is fitting the screen ti is possible that simply the desired row/element is not tapped each time, since such a zoom level means rather small elements. What I can suggest is also testing the MetroTouch skin as it provides larger dimensions for the controls that are more suitable for touch devices.


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.
Tags
Window
Asked by
Jeff
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Rochelle Velasquez
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or